Premature optimization is the root of all hair loss
A cautionary tale about focusing on algorithmic optimization before profiling. I wasted time implementing fancy graph algorithms for a puzzle only to discover that Java startup time was the actual bottleneck.