Comment

Comment by ot

This is not that uncommon when optimizing code.

Your program is slow so you profile it, and find out that f() takes 99% of the time. So you work a lot to optimize f(), and re-profiling shows that now f() takes 98% of the time.

Doesn't seem that impressive after all the work you've put into optimizing f(), but your program is actually twice as fast :)

parent ot 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton