Puzzle - RPL and others
|
04-23-2021, 09:17 AM
Post: #4
|
|||
|
|||
RE: Puzzle - RPL and others
Ahh, an RPL puzzle! *cracks fingers, furious key clicking ensues*
This time, I went for UserRPL first (somewhat unusual for me, but SysRPL might come soon too). Claiming a solution at 203.5 bytes, checksum #A034h, TEVAL results vary between 15.2 ... 15.25 seconds on my physical 50g. There's some list processing, so it's likely a somewhat memory-heavy solution, leading to possible garbage collection influence - I currently have 222KiB free in IRAM. Also have a modification of said program with a cache for a recurring slow computation. (2. n ^ R\->B for n in 1...9, if you're interested. The replacement is b n GET, where b is a local variable holding a 9-element list generated once at startup.) 248 bytes, checksum #3FD8h, TEVAL clocks in at about 13.62 ... 13.66 seconds. Code postponed till after the deadline. Now to see what shortcuts SysRPL enables... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)