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

Re: CLONE for Tie::RefHash

Thread Previous | Thread Next
Yuval Kogman
March 29, 2006 02:51
Re: CLONE for Tie::RefHash
Message ID:
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 <>  0xEBD27418

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About