develooper Front page | perl.perl5.porters | Postings from February 2013

SVs

Thread Next
From:
Steffen Mueller
Date:
February 25, 2013 06:53
Subject:
SVs
Message ID:
512B0A59.9060800@cpan.org
intrpvar.h says this:

PERLVAR(I, sv_count,	I32)		/* how many SV* are currently allocated */
PERLVAR(I, sv_objcount,	I32)		/* how many objects are currently allocated */

While that's not a terrible restriction right now (at 20 byte per SV, 
this is 40GB of RAM), it's within earshot of realistic to overflow, no?

Should this be unsigned? Should this be UV or IV so that 64bit platforms 
can allocate a ludicrous number of SVs?

--Steffen

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