Stas Bekman <[EMAIL PROTECTED]> writes:

[...]

> Seriously, if we could abstract the magic you've added to the pool
> code to be more general purpose (sans adding overhead by
> generalization) it'd be nice to deploy it for $r, $c and may be other
> objects... 

The solution for pools doesn't translate easily into a solution for
other apache objects, because those objects don't have perl ctors
like APR::Pool::new.  So deploying something like it for $r and 
$c would mean putting it into those lightweight wrapper macros like 
mp_xs_Apache__RequestRec_2obj, which would certainly have a 
performance impact (especially if you're expecting to add a pool
cleanup there).

AFIACT the only other candidate for doing something similar is
APR__Brigade.h, but at the moment I still don't see a pressing
need for it.

-- 
Joe Schaefer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to