Hacker News new | past | comments | ask | show | jobs | submit login

Can't edit my comment, here's another claiming 12.7 μs and 7 μs:

https://old.reddit.com/r/adventofcode/comments/1h3vp6n/2024_...

Another claiming 30μs and 32μs:

https://old.reddit.com/r/adventofcode/comments/1h3vp6n/2024_...




For an interesting comparison, here's BQN, an array language, at 25.5μs (on an i3-4160) for both parts, including input parsing:

https://github.com/dzaima/aoc/blob/master/2024/BQN/1_fast.bq...


That's very impressive.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: