Post Reply 
HP 38G: Better than Prime for some Sequences using the built in Sequence App
03-07-2015, 11:39 AM
Post: #26
RE: HP 38G: Better than Prime for Sequences
(03-07-2015 11:29 AM)Gerald H Wrote:  On the 38G 99 takes 122sec

& 40gs takes 39 sec.

The performance of the Prime is disappointing.

There is a reason: The implementation with the TT routine evaluates each element of the sequence from scratch while the sequence app recurses on the previous results. Maybe storing the previous values in a list instead of performing a recursive call will give better run times. This of course makes the calls to TT not independent from each other.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 38G: Better than Prime for Sequences - Marcus von Cube - 03-07-2015 11:39 AM



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