Post Reply 
HP 48GX hpcalc.org Program Name
05-05-2021, 01:42 AM
Post: #8
RE: HP 48GX hpcalc.org Program Name
(05-05-2021 01:10 AM)MNH Wrote:  
(05-04-2021 01:44 AM)rprosperi Wrote:  MEM does garbage collection so it is indeed very slow.

Why do you think you need this inside the loop in your program?

In case I have a large amount of strings to process. Clearing used pointers from memory will allow a program to run faster.

It's a trade-off. Execution of MEM adds time, while the effect of running it may speed things up. Try it with and without MEM DROP included, it's easy to make this change.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 48GX hpcalc.org Program Name - MNH - 05-02-2021, 10:21 PM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-03-2021, 12:54 AM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-04-2021, 01:02 AM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-05-2021, 01:10 AM
RE: HP 48GX hpcalc.org Program Name - rprosperi - 05-05-2021 01:42 AM
RE: HP 48GX hpcalc.org Program Name - MNH - 05-06-2021, 01:30 AM



User(s) browsing this thread: 3 Guest(s)