Some more fun with Scala3

2021-05-15 Software-Craftmanship Advent-of-Code Functional-Programming Nerdy Scala

Scala3 is here.

In my earlier post I saw some weird performance differences between Scala2 and Scala3 (RC3) and felt (obviously) compelled to run the benchmark again against 3.0.0.

And … big surprise: Everything is back to normal. Scala3 is as fast as Scala2.

The big differences come from very small numbers (e.g. Day13). The biggest (reproducible) differences is on Day3(part1): 112 msecs vs. 255 msecs. If I am getting really bored one day I might take a look at it.