performance optimizations

Here are 3 small changes that led to speedups on my machine. And if you're interested, here are the nytprofhtml sets for before the optimizations, and after applying each one: https://dl.dropboxusercontent.com/u/10190786/dist-zilla-nyt.zip