My <day 2 solution here>, timings per platform bel...
# advent-of-code
j
My day 2 solution here, timings per platform below. Nothing particularly fancy, quite pleased with how extension functions help with readability.
Copy code
| JVM (OpenJDK 11) | 9.1 ±  14.7  | `71, 16, 11,  7,  7,  6,  5,  5,  5,  8,  4,  5,  2,  3,  3,  4,  2,  2,  4,  4` |
| Node JS          | 17.4 ± 18.6  | `90, 43, 25, 20, 12, 10,  8,  8,  9,  8,  9,  8,  8,  8, 19, 11, 11, 11,  9, 11` |
| Native           | 39.1 ±  7.5  | `36, 36, 37, 34, 34, 36, 34, 45, 41, 68, 34, 42, 36, 35, 42, 34, 38, 35, 41, 34` |
👍 1
t
Really nice! We have almost identical solutions. 🙂
😀 1
b
you are not using jmh aren't you?
j
No, because I am doing multi-platform, and JMH doesn't work on native and Node
👍 1