On Sun, 7 Oct 2001, Stas Bekman wrote:

> I was trying to decide what's the best storage to use in the 
> Apache-Registry modules, and whether to store frequently used $r info or 
>   request for them every time I need them. So I've decided to benchmark 
> (See my other post about Apache::Benchmark :).

sounds good.  what about using references so the strings are not copied,
like:

$a->[URI] = \$r->uri;

i guess the deref would add some overhead and probably not worth the lil
bit of memory savings.




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

Reply via email to