https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
j

Joris PZ

12/02/2019, 1:47 PM
Yeah, I couldn't resist prematurely optimizing (hopefully...) for later this month, and have started the skeleton for a guidance computer emulator. Performance was terrible on JS and native, with a warm JVM finishing in about 150ms, while JS and native took 5-10s each run
Since I introduced coroutine support into the project on Day 7 I refactored my Day 2 Part 2 solution to do the brute force in parallel. A hot JVM now finishes in 30% of the time of the single-threaded solution.
4 Views