Rewrite encode_references to use regexps.
authorAdam Sampson <ats@offog.org>
Wed, 28 Jan 2009 12:57:10 +0000 (12:57 +0000)
committerAdam Sampson <ats@offog.org>
Wed, 28 Jan 2009 12:57:10 +0000 (12:57 +0000)
commitc64b96d891ab46fcea522140dcb1069678a7f3c9
tree56f95ce5aa32aacb8f4b48180c44b87995586177
parent37cd75cc21fa2ac4df87649ca59fb770819ad89f
Rewrite encode_references to use regexps.

This is another result of profiling: in my fairly large test config,
this takes the time spent in encode_references from 148 seconds down to
2 seconds.
NEWS
rawdoglib/rawdog.py