Post Reply 
hp48 working with large lists
03-06-2017, 11:10 AM (This post was last modified: 03-13-2017 07:39 AM by Werner.)
Post: #4
RE: hp48 working with large lists
I don't quite understand what the issue is.
You're trying to modify an element of a list under low memory conditions so you can't afford to have the list there twice, right?
Then, how would it be possible to assemble the list again?
I'm afraid there's no miracle possible here - both exploding and assembling lists will take the memory of the list plus the memory of its constituting objects...

BTW deleting the variable that contains a list merely moves the list from USEROB to TEMPOB and will not gain you anything memory-wise, except longer garbage collections for large (exploded) lists ;-)
(some list commands purposefully save the list in a user variable to avoid the gc issue)

Cheers, Werner

Update: exploding a list does not take twice the memory as it only uses up stack pointers to point within the list - but you wanted the objects themselves with NEWOB, and that does take twice the memory.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
hp48 working with large lists - snrowe - 03-04-2017, 06:10 PM
RE: hp48 working with large lists - Han - 03-04-2017, 11:57 PM
RE: hp48 working with large lists - snrowe - 03-05-2017, 01:39 AM
RE: hp48 working with large lists - Werner - 03-06-2017 11:10 AM
RE: hp48 working with large lists - snrowe - 03-12-2017, 04:49 PM



User(s) browsing this thread: