Skip Menu |

This queue is for tickets about the Array-Utils CPAN distribution.

Report information
The Basics
Id: 50154
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Array-Utils

People
Owner: zmij [...] cpan.org
Requestors: perl [...] evancarroll.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.1
  • 0.2
  • 0.3
Fixed in: (no value)



Subject: More memory than required. value-undef vs value-1
Some of these algos are slower and more wasteful than need be in even a PP implementation. undef is special in perl, all occurrences where you use the perl internal hashing and discard values, you should set the value to undef, to avoid creating a new perl scalar. $_=>undef, rather than $_=>1 See PL_sv_undef for more info. -- <a href="http://www.evancarroll.com">Evan Carroll</a>
Is fixed in 0.4 release. Will be uploaded on May 06 2010