Post Reply 
Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
08-05-2020, 06:29 AM
Post: #12
RE: Speed of HP-49G Routine for Tektronix Vector Graphics Terminal
Hello,

>Integer conversion in SysRPL. Those two commands are themselves implemented in Saturn ASM anyway, so there's not much to be gained by replacing them with my own ASM

Actually, you would gain a lot in doing them yourselve...
The reason for it is that, it is not the conversion which is long, but the memory allocation for the result. Mallocs are slow on the saturn because they require memory movement (of the RPL return stack). And memory moves are slow!!!!*

So, reducing the number of object creation is the main speedup on any RPL program in the 49.

Cyrille
*Come thinking about it, I think that the malloc calls have been reimplemented directly in C in the Arm based series.... hence helping a lot speed up things.

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Speed of HP-49G Routine for Tektronix Vector Graphics Terminal - cyrille de brébisson - 08-05-2020 06:29 AM



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