Post Reply 
Simple challenge in RPL, Extract the odd elements from a list
08-16-2017, 07:06 PM
Post: #6
RE: Simple challenge in RPL, Extract the odd elements from a list
Hi

Code:

\<<
  1
  \<< NSUB 2 MOD SWAP IFT\>>
  DOSUBS
\>>

Same size, same idea that the program of Werner but a _little_ faster :

0.8561s for a list of 100 items vs 0.879s
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Simple challenge in RPL - compsystems - 08-16-2017, 12:54 PM
RE: Simple challenge in RPL, Extract the odd elements from a list - Gilles59 - 08-16-2017 07:06 PM



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