my 7.2 runs in a quarter of the time of my 7.1. I ...
# advent-of-code
k
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
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
Yeah, probably. My first run for both answers takes 108 ms, the best run of 25 takes only 8
g
In the benchmark I'm running it becomes insanely fast. with 7325 ops/s and 4608 ops/sec, so second one about 40% slower.