Skip Menu |
 

This queue is for tickets about the IO CPAN distribution.

Report information
The Basics
Id: 59667
Status: resolved
Priority: 0/
Queue: IO

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

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



Subject: make IO::* more efficient by doing less imports
Download (untitled) / with headers
text/plain 465b
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
Download (untitled) / with headers
text/plain 115b
Just documenting here that this might server as a precedent: https://rt.cpan.org/Public/Bug/Display.html?id=4774
Download (untitled) / with headers
text/plain 183b
Just FYI, we consistently save an average of 1/4 MB memory w/ 'use IO::Socket ()' w/ our patched version of 1.25 over the normal 1.25 That can add up quick in a server environment!
Ticket migrated to github as https://github.com/toddr/IO/issues/39


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.