develooper Front page | perl.perl5.porters | Postings from July 2012

Re: Objects without stashes?

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
July 13, 2012 09:06
Subject:
Re: Objects without stashes?
Message ID:
20120713160635.GN9583@plum.flirble.org
On Fri, Jul 13, 2012 at 02:27:16PM +0100, Dave Mitchell wrote:
> On Fri, Jul 13, 2012 at 08:06:50AM -0500, Reini Urban wrote:

> > We should create all our hashes with hv_aux already and forget about
> > the OOK checks.
> 
> Lets not.

If we did, we'd add about 24 or 40 bytes to *every* hash used as an object.
(eyeballing the size for defaults on typical 32 and 64 bit systems)
That feels like quite a high memory cost.

Nicholas Clark

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