/ Zope / Apsis / Pound Mailing List / Archive / 2008 / 2008-04 / regex optimizing?

[ << ] [ >> ]

[ What is the proper way to shutdown pound? / Rt ... ] [ 'Request URI is too long.' MaxRequest ignored? ... ]

regex optimizing?
David L Kensiski <David(at)SchoolLoop.com>
2008-04-16 00:02:05 [ SNIP ]
Are regular expression lookups optimized in pound?  I.e are they put  
into a hash table of any sort, or are they scanned sequentially each  
time a new request comes in?  I have a 4600 line config file with  
around 270 different "HeadRequire "Host:.*xyz.foo.com" matches and  
was wondering if I'd see a performance difference between the first  
and last entries.

Thanks,
--Dave


MailBoxer