RPL second impressions (HP 28)
|
06-30-2018, 02:14 AM
Post: #25
|
|||
|
|||
RE: RPL second impressions (HP 28)
(06-29-2018 07:35 PM)Gerson W. Barbosa Wrote: This means my stack handling is not efficient. When properly done it should be faster than using local variables. Don't consider me an expert so I could be totally wrong, but I would recommend:
I could imagine that creating a context for local variables is somewhat expensive. So don't do that within a tight loop. But accessing local variables should be fast. Similar to something like DUP or +. In UserRPL the overhead for each command is big compared to actually doing it. Thus reducing the amount of commands within a loop helps. Just by counting the commands in the DO-loop we can see that their ratio 11 ÷ 12 is close to the ratio of durations: 201 ÷ 214. Use SysRPL if time really matters. Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)