Speeding up application startup

Fahd Khan fahdkhan at bayou.uh.edu
Fri May 11 01:47:21 EDT 2001

This is a guess, and I haven't bothered to look up if it is even possible,
but perhaps you could pickle the compiled regex objects into a cache file of
some sort?


Mark Rowe <mark21rowe at yahoo.com> wrote in message
news:3afb772d at news.actrix.gen.nz...
> Hey all,
> On startup my application reads a text file that contains around 15000
> regular expressions which i then need to compile for use during the course
> of my program.  It takes around 15 seconds for this to be done on my
> machine.  Any suggestions for speeding this up?
> Mark

More information about the Python-list mailing list