The root of all evil, i.e. optimizations. Not much else in this commit. · SufferProgrammer/mod_python@f29cd68 · GitHub
Skip to content

Commit f29cd68

Browse files
committed
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.
1 parent 3e1f477 commit f29cd68

3 files changed

Lines changed: 187 additions & 123 deletions

File tree

0 commit comments

Comments
 (0)