My day 11 solutions seem to be awfully slow #81
Unanswered
thundergnat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am mildly disappointed with the execution speed of my Raku day 11 solutions. They work, and return the correct answer (eventually) but they seem awfully pokey.
On my system: (7 year old processor) i7-4770 3.9 Ghz, 16Gb memory, Linux Mint 20, Raku v2020.11
Part 1 finishes in about 15 seconds and part 2 in about 30.
I haven't tried anyone else's solutions. I try to avoid spoiling if possible, but what have others experiences been? Is this task just time consuming? or am I just being really inefficient?
Just curious.
Update: Went through and used native vars wherever possible and that helped a bunch with part 2. Not so much with part 1. With latest commit, 1 is still just around 15 seconds, maybe a little less; 2 is now down around 19 seconds.
Beta Was this translation helpful? Give feedback.
All reactions