The root of all evil, i.e. optimizations. Not much else in this commit.
The rules are simple - avoid function calls at all cost, especially for
Python code that runs at every request, replace all had_key() and get()
with something using "in", avoid string to integer conversions and other
string manipulation, etc.