eregs/regulations-site — pull request #389 by cmc333333 (2013-10-11 14:19:32+00:00)
Title: Performance Tweak 2: Replace re.search + re.escape with a faster string search

re.finditer + re.escape is slow. Wrote a quicker version using string.find. This could probably be made more efficient, but as it stands, it's faster than re.

On 1005-Interp (our largest section), this gives a ~16% boost