List Commands Library for 50g
|
09-24-2017, 01:43 PM
Post: #152
|
|||
|
|||
RE: List Commands Library for 50g
(09-23-2017 08:26 PM)DavidM Wrote: Hey Scott - Hi David, Sounded like a similar problem to what I was having. Not sure if below applies to your issue but will include incase it does. When researching how to free up memory when manipulating large lists I learned the following. When you extract even one element from a list that has not been stored to a variable it keeps the entire list in memory as long as the extracted element is on the stack. I also found reference that Matrices/Vectors were more memory efficient for calculations if using numbers. (ref William Wicks 'HP48 Insights PART I: PRINCIPLES AND PROGRAMING' Section 11.6 Composite Objects and Memory'). On my program, yes that's exactly the problem I found each time I modified the list a copy of string I was tying to modify was being created. Could not find a way around this with USERRPL. Think I did what you're suggesting, now I store string messages as there own variables in a MESSAGE directory also limited the length to 300 characters and created searching tools to pull together messages with certain criteria. Was hoping there might be a way to explode a list into individual elements while destroying the original list so it's not taking up memory while your exploding it. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)