In support of the 33s & 35s
|
01-03-2018, 05:54 PM
Post: #26
|
|||
|
|||
RE: In support of the 33s & 35s
(01-02-2018 06:42 PM)grsbanks Wrote:(01-02-2018 10:25 AM)pier4r Wrote: Anyway for the 35s I guess grsbanks (if I remember who reported the timings) used another algorithm to be slightly faster. Could it be? I ran your code on my HP 33s and was surprised that my execution times actually increased. It was still faster than the HP 35s, but the differences were not as large. So just because a code is more efficient for one calculator does not mean it will be so for another. As a side note, you could have reduced the run times slightly on the HP 35s by replacing the sequence 3 1/X Y^X with 3 <X root of Y>. Using this code on both the HP 33s and HP 35s with N=1000 yields a run time of 282 sec on the HP 35s and 217 sec on the HP 33s. The only part of your code that I could not enter directly was CLSTK, which I replaced with CLx ENTER ENTER ENTER. This should have a negligible effect on execution time, since it falls outside the summation loop. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 10 Guest(s)