From: shecter at darmstadt.gmd.de (Robb Shecter) Date: Mon, 03 May 1999 14:20:55 +0200 Subject: Python too slow for real world References: <372068E6.16A4A90@icrf.icnet.uk> <3720A21B.9C62DDB9@icrf.icnet.uk> <3720C4DB.7FCF2AE@appliedbiometrics.com> <3720C6EE.33CA6494@appliedbiometrics.com> <37215EFB.433AFCA6@prescod.net> <3724B2D6.B468687A@prescod.net> Message-ID: <372D94A7.A008DA0A@darmstadt.gmd.de> X-UID: 1738 Roy Smith wrote: > Paul Prescod wrote: > > It is a performance issue if you don't know that regexps are supposed to > > be compiled. > Hi, Sorry if this is obvious, but does the Regex class cache compilations? I couldn't find any info on this. If it was, it would support subject matter experts nicely, like someone else mentioned. But even as a CS person, I like how the Java "ORO" Regex Library has automatic Least Recently Used caching. This lets application code be simpler, as well as making it easier to share compiled expressions much more easily between objects. - Robb