develooper Front page | perl.perl5.porters | Postings from March 2006

RE: CLONE for Tie::RefHash

Thread Previous | Thread Next
From:
Jan Dubois
Date:
March 29, 2006 15:14
Subject:
RE: CLONE for Tie::RefHash
Message ID:
05b101c65386$63e6f000$6062a8c0@candy
On Wed, 29 Mar 2006, demerphq wrote:
> On 3/29/06, Yuval Kogman <nothingmuch@woobling.org> wrote:
> > On Wed, Mar 29, 2006 at 12:46:57 +0200, demerphq wrote:
> >
> > > overload::StrVal is a fairly slow procedure. Is there a reason why
> > > Tie::RefHash doesnt use Scalar::Util::refaddr() instead? Its much
> > > faster.
> >
> > It probably relates to it's availability, which is a non issue in
> > core perl, right?
>
> Sorry I missed this point....
>
> Scalar::Util is in core since 5.8, and is available for 5.6.

Yes, but refaddr() is new in the core Scalar::Util since 5.8.1, not 5.8.

Cheers,
-Jan



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About