Post Reply 
Programming puzzles: processing lists!
10-18-2017, 12:51 PM
Post: #211
RE: Programming puzzles: processing lists!
(10-17-2017 08:58 PM)pier4r Wrote:  
(10-17-2017 07:20 PM)DavidM Wrote:  -cut-

Thanks for your input. The pick3 command is nifty, I am not used to use them (because I prefer to put stack objects in variables).

I also added the code in the collection of userRPL code in the hp calc torrent. If you have code to suggest to add (or threads where to look for code), feel free to tell me.

One great resource is One-minute Marvels which has a table of combined stack operations. I agree with David, though, that an exhaustive listing of code fragments is less useful than a good knowledge of RPL commands.

Another idea might be a collection of "rules of thumb". As an example, which I mentioned in another thread, stack operations that take a numeric argument (DUPN, ROLL, PICK, etc.) take about 7 times as long to execute as simple operations (SWAP, DUP, ROT, etc.).

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Programming puzzles: processing lists! - John Keith - 10-18-2017 12:51 PM

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