Skip Menu |

This queue is for tickets about the B-Size CPAN distribution.

Report information
The Basics
Id: 57160
Status: new
Priority: 0/
Queue: B-Size

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: Aliased code references counted multiple times?
When looking into Apache::Status's memory usage of File::Copy, I see these as the largest functions: copy 31563 bytes | 759 OPs cp 31563 bytes | 759 OPs syscopy 31563 bytes | 759 OPs move 12512 bytes | 317 OPs mv 12512 bytes | 317 OPs cp and syscopy are just aliases of File::Copy, and mv is just an alias of move. I think (well, I hope) that Perl does not occupy memory for aliases. If so, then package_size() of B::TerseSize should also not count this memory multiple times. Regards, Slaven