perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [rfc] APR::Table & polymorphic values
Date Mon, 02 Jun 2003 21:41:30 GMT
Stas Bekman <> writes:


> The question is whether this hit (e.g. magic retrieval) is wanted for
> the general case. APR::Table is

OK- how about using SvFAKE for the APR::Table return values instead?
That way everybody wins- APR::Tables uses copy-on-write for the 
returned SV's (which is faster than doing newSVpv), and apreq can 
get the metadata back by interrogating those SV's (since they're 
not copies, so SvPVX(sv) still points to the original data[1]).

Joe Schaefer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message