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> <y0jaevznhha.fsf@vier.idi.ntnu.no> <glmvhemn4zx.fsf@caffeine.mitre.org> <37215EFB.433AFCA6@prescod.net> <roy-2404991257450001@mc-as01-p63.med.nyu.edu> <3724B2D6.B468687A@prescod.net> <roy-2604991601410001@qwerky.med.nyu.edu>
Message-ID: <372D94A7.A008DA0A@darmstadt.gmd.de>
X-UID: 1738                                                

Roy Smith wrote:

> Paul Prescod <paul at prescod.net> 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





