Hacker News new | ask | show | jobs
by fuckstick 1322 days ago
> The output was faster than the input.

So if you ran the input back through the output multiple times then that means you could eventually get the runtime down to 0.

2 comments

But unfortunately, the memory use goes to infinity.
Probably the output of the decade-old compiler that produced the original binary had no optimizations.
That too but the eternal riddle of optimizer passes is which ones reveal structure and which obscure it. Do I loop unroll or strength reduce first? If there are heuristics about max complexity for unrolling or inlining then it might be “both”.

And then there’s processor family versus this exact model.