News for hackers. Stuff that matters.
Re:Why git is so fast (or why Java is not as fast as C) by rdtsc on Saturday January 02, 2010 @05:05AM (#1027029)
Another thing to keep in mind before optimizing is the 80/20 rule. Usually only a small part of the program (20%) needs optimizing.

Of course one needs actual performance numbers (via profiling for example) before knowing what to optimize. There is nothing worse than faith-based performance assumptions. I have seen months being wasted re-writing code in a lower level language to "make things faster" only to find out that it didn't make a difference, the code was disk or network bound and not CPU bound.

There are no comments on this comment yet.