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