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

Re: CLONE for Tie::RefHash

Thread Previous | Thread Next
From:
Yuval Kogman
Date:
March 29, 2006 02:51
Subject:
Re: CLONE for Tie::RefHash
Message ID:
20060329105017.GV30411@woobling.org
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?

I didn't know there was a significant difference between the two,
but either way won't the tie interface and deep dereferencing
overshadow the StrVal slowness?

-- 
  Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org  0xEBD27418


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