cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject RE: WildcardMatcherHelper caching issue
Date Mon, 08 Jan 2007 11:06:25 GMT
On Mon, 2007-01-08 at 11:52 +0100, Ard Schrijvers wrote:
> > Ard,
> > 
> > What is cached is the pattern, not the string to be matched 
> > against it,
> > so what you describe isn't a problem IIUC.
> 
> I already was a little amazed. But then, who is using always-changing
> patterns? Like in dynamic sitemaps or something? Do not really see
> this possible memory leak in here..
> 

There is no real issue here for Cocoon indeed, I was just nitpicking
that I prefered a design whereby the user of the wildcard matcher is
responsible for the caching, just as is the case for regexp's or XSLT's
or whatever.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message