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

Re: Objects without stashes?

Thread Previous | Thread Next
Nicholas Clark
July 13, 2012 09:06
Re: Objects without stashes?
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About