3 ms·
Perhaps it's unrealistic in the sense that this is unrealistically-optimisable code. Real-world code has closures, allocations, and pointer-dererencing. This
by mrkeen 2y ago
Perhaps it's unrealistic in the sense that this is unrealistically-optimisable code.
Real-world code has closures, allocations, and pointer-dererencing. This code is just iterations, additions and modulus.
- behnamoh 2y ago> This code is just iterations... Which is what the average programmer out there writes. Therefore, I think this is actually a good realistic benchmark.
- steveBK123 2y agoPrecisely - its bad code, which is what most code is!
- handfuloflight 2y agoWhat's a Github repository with good code?
- steveBK123 2y agoAll code is bad, some is useful
- handfuloflight 2y agoUseful is good. Ergo transitive property.
- intelVISA 2y agoNobody's ever seen it!
- elzbardico 2y agoWhat the average programmer out there writes is just a tip on the iceberg of what gets executed. And an incredibly small tip.