The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
program execution speed as library vs variable HP50G
09-30-2017, 02:50 AM
Post: #1
program execution speed as library vs variable HP50G
Hi,

I've been working on porting a program that I wrote for the HP48SX to the other 48/49/50G calculators and noticed some strange behavior running the program as a library from the non hp48SX calculator models.

The main issue is when the program is run as a library on the G series calcs execution time slows down drastically opposed to running the program as a variable or as a library on the 48SX. I tracked down the slowdown of the program to the execution of the 'MEM' command. I tried using the SYSRPL version of the command that doesn't force GC and the program ran at normal speed but the memory reported was no longer accurate. I find it odd that the program runs at normal speed when the variable form of the program is executed, but has trouble being run as a library.

Can anyone shed light on what might be causing this? Any work around for executing MEM from a library program without a major slowdown?

Any insight on to what causes this would be greatly appreciated.

Thanks,
Scott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
program execution speed as library vs variable HP50G - snrowe - 09-30-2017 02:50 AM



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