Post Reply 
newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
10-28-2017, 12:03 AM
Post: #217
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
(10-27-2017 10:08 PM)Gilles59 Wrote:  
(10-27-2017 12:59 AM)John Keith Wrote:  
Code:
\<< 0. 999. FOR n
n DUP I\->NL 3. ^ LSUM SAME n IFT
            NEXT
\>>

TEVAL: 86.6 sec.

This one use both ListEx and GolferList with UserRPL. Little slower but I like it :
Code:
 0. 999. LSEQ + << DUP I->NL 3. ^ LSUM SAME >> Filter
96" and return a list

"0. 999. LSEQR" would allow you to drop the "+". I agree with Gilles that returning the results as a list is nice. Both LSEQ and LSEQR will be even faster in the final release (probably next week), especially with exact integers. That's not the slow spot for this program, though.

The newRPL version clearly shows that there's plenty of life left in the 50g! That's great to see, Claudio.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25] - DavidM - 10-28-2017 12:03 AM



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