Subject: | make IO::* more efficient by doing less imports |
Hello,
We do “use IO::Socket ();” (i.e. non-import()) all over the place.
We've seen a 1/4 MB savings in memory by patching he IO modules to not import so much.
e.g.:
use XYZ qw(abc);
abc(...);
to
use XYZ ();
XYZ::abc(...);
In a server environment that can add up quickly!
We'd love to share this patch with you if you're interested. I can also send import specifics and
memory benchmarks to show the benefit.
Let me know, thanks!
--
Dan Muey