X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FSize.pm;h=fd386006c192c175e7d88619153195de9d3eb20f;hb=a809d0e179c4fb1a2110cd5c14bb4074febcdad9;hp=51e61ec554ff566107bb25eec17ecadc214c2f08;hpb=6cba40961d44a6cd61f1cb8d3b9040e6879eadb0;p=p5sagit%2FDevel-Size.git diff --git a/lib/Devel/Size.pm b/lib/Devel/Size.pm index 51e61ec..fd38600 100644 --- a/lib/Devel/Size.pm +++ b/lib/Devel/Size.pm @@ -3,7 +3,7 @@ package Devel::Size; use strict; use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS $warn $dangle); -require 5.008; +require 5.005; require Exporter; require XSLoader; @@ -14,7 +14,7 @@ require XSLoader; # This allows declaration use Devel::Size ':all'; %EXPORT_TAGS = ( 'all' => \@EXPORT_OK ); -$VERSION = '0.75_52'; +$VERSION = '0.79_51'; XSLoader::load( __PACKAGE__); @@ -187,7 +187,7 @@ larger. Since version 0.72, Devel::Size uses a new pointer tracking mechanism that consumes far less memory than was previously the case. It does this by using a bit vector where 1 bit represents each 4- or 8-byte aligned pointer -(32- or 64-bit platform dependant) that could exist. Further, it segments +(32- or 64-bit platform dependent) that could exist. Further, it segments that bit vector and only allocates each chunk when an address is seen within that chunk. Since version 0.73, chunks are allocated in blocks of 2**16 bits (ie 8K), accessed via a 256-way tree. The tree is 2 levels deep on a 32 bit