[PATCH] Re: [Petal] Fergal's work / suggestions

William McKee william at knowmad.com
Thu Jun 19 06:19:00 BST 2003


On Thu, Jun 19, 2003 at 01:49:07PM +0100, Fergal Daly wrote:
> Unless Jean-Michel has made big changes to the core, it's only my modules that 
> use PRD. If he accepts my last patch then the slowness will only happen when 
> you try to use a template that hasn't been cached which is not so bad,

Right, I forgot about caching. So if I understand this all correctly,
standalone scripts using Petal with disk caching enabled should generate
the template script on first use. Subsequent uses, even if using your
optimizations and Parse::RecDescent, should not cause PRD to get loaded
unless the cached template expires. Right? Perhaps we should build a
test case to verify. But how would we know if PRD got loaded? Can we
check the @INC? The other option may be to do benchmarking I guess.

Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com


More information about the Petal mailing list