Optimizing optimizing: some insights that led to a 400% speedup of PowerDNS

from blog Bert Hubert's writings, | ↗ original
So no matter how pretty your code, eventually someone will benchmark it and demand top performance. Squeezing microseconds is a very addictive and even destructive activity. It ruins your evenings, destroys your ability to converse with human beings and typically leaves your code in a mess. No programmer can escape it however: the world demands...