Why GNU grep is fast (2010)
This applies very well to optimization, too.  There are only really two ways to optimize code:1) make it do less2) make it do more at a time.The first corresponds to using more efficient algorithms and data structures.  The second is parallelism.