After some iterations for readability and some per...
# advent-of-code
j
After some iterations for readability and some performance improvements, I am quite pleased with https://github.com/jorispz/aoc-2018/blob/master/src/commonMain/kotlin/P05.kt Today's timings (25 runs, initial/lowest run): JVM
124/30 ms
, NodeJS
797/507 ms
, MinGW
647/573 ms
. Good run for Native, for the first time just about matching the JS build. Interestingly, an earlier version added about
600 ms
to the measurements for native. Apparently
String.replace()
doesn't perform well on MinGW in this case... 🙂