eregs/regulations-site — pull request #391 by cmc333333 (2013-10-11 16:01:59+00:00)
Title: Performance Tweak 3: Cache certain reverse url lookups

Usually, doing a reverse lookup isn't a problem, but we perform a few thousand, often with the same destination. Django's caching layer is way too heavy for this, so just use a simple dict.

On Interp, this has a ~6% speed improvement