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

keturn

12/08/2018, 4:45 AM
my 7.2 runs in a quarter of the time of my 7.1. I am not sure if it's just JVM warmup or what.
g

Gerard Klijs

12/08/2018, 7:32 AM
Probably, I'm using RxJava which makes it worse, second one is 8 times as fast if I just calculate the answers for day 7
j

Joris PZ

12/08/2018, 7:37 AM
Yeah, probably. My first run for both answers takes 108 ms, the best run of 25 takes only 8
g

Gerard Klijs

12/08/2018, 8:49 AM
In the benchmark I'm running it becomes insanely fast. with 7325 ops/s and 4608 ops/sec, so second one about 40% slower.
5 Views