Real-world code has closures, allocations, and pointer-dererencing. This code is just iterations, additions and modulus.
Which is what the average programmer out there writes. Therefore, I think this is actually a good realistic benchmark.
Real-world code has closures, allocations, and pointer-dererencing. This code is just iterations, additions and modulus.