Subject: | Smaller memory foot print fix up |
Hello,
Since the goal of this module is compression you might also be interested in a semi related
savings: memory.
The fact that Scalar::Util has (appx) a 656K require() footprint and a 668K use() footprint.
I change IO::Compress to use a different module for IO::Compress::Base to give it blessed()
and readonly() that has an appx 136K require footprint and 152K use footprint. (half MB of
memory!)
Would you consider patching IO::Compress to use the more memory efficient one?
If so I'd be happy to package it up formally on CPAN for public use.
It'd pass all of Scalar::Util's blessed() and readonly() tests, in fact it *is* Scalar::Util's functions
just 'Splinter'ed out or 'Tiny'ied up.
I'd probably leave out the Exporter (maybe do a non exporter import() w/ symbol table
magic) stuff for further gain it'd be a require(0 for CU and memory savings then a full name
space call to said functions.