RPL programming questions
|
02-18-2014, 07:15 PM
(This post was last modified: 02-18-2014 07:20 PM by peacecalc.)
Post: #6
|
|||
|
|||
RE: RPL programming questions
Surprising competition,
I wrote three little programs, for testing the speed of hp 50g recalling 5000 times five different storeplaces a) global variables program "TGLO": Code:
this proggie create five globales from "A" to "E" and in the loop these variables are recalled and the values are immediately afterwards deleted. It takes on the real machine: 56 sec. b) the second proggie: "TSTK": Code:
this proggie create five values on stacklevel one to five and in the loop these variables are recalled by PICK and immediately afterwards deleted. It takes on the real machine: 26 sec. Okay, two times faster. But now the surprise: c) working with locals "TLOC": Code:
this proggie create five local variables from "A" to "E" and in the loop these variables are recalled and immediately afterwards deleted. It takes on the real machine: 57 sec. So one can see in examples how to test certain commands about their time consumption. But you have each command for their own and the programming have to provide comparative environments. Greetings peacecalc |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)