Programming puzzles: processing lists!
|
04-21-2017, 09:03 PM
(This post was last modified: 04-21-2017 09:05 PM by pier4r.)
Post: #19
|
|||
|
|||
RE: Programming puzzles: processing lists!
Some more results
more code: here Code:
Correctness, both mine and DavidM (no other person contributed so far) are apparently correct. Speed: - challenge 1 Pier @ 128 lists of 5 elements, average check length, 0.17 seconds @ 10 lists of 100 elements, 1.73 sec average. David @ 128 lists of 5 elements, average check length, 0.061 seconds @ 10 lists of 100 elements, 0.58 sec average. - challenge 2 Pier @ 10 lists of 10 elements: 0.22 secs @ 50 lists of 100 elements: 2.32 secs David @ 10 lists of 10 elements: 0.08 secs @ 50 lists of 100 elements: 0.59 secs Outclassed! Let's see for the next challenges if I can step up the solution. Furthermore the solution of david are very quick. I wonder if working with the stack could be faster or just be barely faster. PS: I will compare more RPL based results if those appears during those days. Otherwise someone else has to do it. Wikis are great, Contribute :) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)