3 ms·
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/
by dzaima 2y ago
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.bqn https://github.com/dzaima/aoc/blob/master/2024/BQN/1_fast.bq...
- jodrellblank 2y agoThat's very impressive.