Post Reply 
RPL mini-challenge: Create an anti-Identity Matrix
05-15-2018, 08:30 PM
Post: #44
RE: RPL mini-challenge: Create an anti-Identity Matrix
(05-15-2018 03:31 PM)David Hayden Wrote:  
Code:
DUPDUP 2. \->LIST 1. CON SWAP IDN -
With input 30, it takes 2.47 seconds on a 50g.

A modified version of Claudio's program takes 3.4 seconds:
Code:
IDN DUP 1. CON SWAP -

Interestingly, in exact mode the second program is slightly faster than the first one (4.12 vs 4.14 seconds). Matrix commands do seem to work in mysterious ways.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPL mini-challenge: Create an anti-Identity Matrix - John Keith - 05-15-2018 08:30 PM



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