This excerpt from the authors' new book, The Practice of Programming, walks
you through a performance improvement exercise. More importantly, Kernigha
n and Pike help you determine when and if performance improvement is necess
ary, to avoid over-engineering noncritical software applications.