The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.74_52 - 2011-04-23

  • Fix potential SEGVs for OP_AELEMFAST on a lexical (eg $foo[3])
  • Fix likely SEGVs for PVOPs (missing break)
  • Fix potential SEGVs for PVBMs on 5.10 and later
  • Move hash and array traversal from total_size() to sv_size()
    • this allows total_size() and size() to be XS ALIASes.

Changes for version 0.74_51 - 2011-04-22

  • Don't count PL_sv_{undef,no,yes} in the size returned
  • total_size() was double-counting entries in typeglobs
  • sv_size() was double-counting the PVGV size if GvEGV() looped back
  • fix classic off-by-one error - the answer is strlen() + 1, not just strlen()

Changes for version 0.74_50 - 2011-04-19

  • Ensure that size() doesn't add the referent's size for non SVt_RV references

Modules

Perl extension for finding the memory usage of Perl variables