Intel i7 7700HQ , 4 cores 8 threads @ 2.8 GHz
Mojo version mojo 24.2.1
takes 16.3s without yet having a hash map and min max calculations implemented. The parallelize function doesn't use every thread available for some reason.
Mojo nightly mojo 2024.4.2414
takes 7.5s but also doesn't use every thread. Performance gain was because file.read_bytes was refactored to not copy data
Go takes about 6.5s on average, in this one and this other one
The Java version from Artsiom Korzun takes 3.8s