64-bit bug now fixed and will be on CPAN once I've had it tested on *nix and regression on 32-bit builds.
c:\test>perl -MDevel::Size71=total_size -E"$a[$_]=1 for 1..1e6; say total_size( \@a )" 32388768 c:\test>perl -MDevel::Size=total_size -E"$a[$_]=1 for 1..1e6; say total_size( \@a )" 32388768 c:\test>perl -MDevel::Size71=total_size -E"$a[$_]=[1,1] for 1..5e5; say total_size( \@a )" 104194464 c:\test>perl -MDevel::Size=total_size -E"$a[$_]=[1,1] for 1..5e5; say total_size( \@a )" 104194464
In reply to Re^10: sorting two arrays together
by BrowserUk
in thread sorting two arrays together
by siskos1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |