develooper Front page | perl.perl5.porters | Postings from July 2012

Re: [PATCH] Module::CoreList delta support

Thread Previous | Thread Next
Chris 'BinGOs' Williams
July 29, 2012 08:27
Re: [PATCH] Module::CoreList delta support
Message ID:
On Sun, Jul 29, 2012 at 01:22:50PM +0100, David Leadbeater wrote:
> Hi,
> I've added delta support to Module::CoreList, which makes it a bit smaller,
> I'm not sending it to the list or RT because it's huge (mostly removed
> lines), it's at:
> Yes it uses tie, which I'm not entirely pleased with however see for
> example: for
> the sheer amount of stuff reading from those hashes.
> (There's also another cleanup patch on top of it to reduce the manual work
> needed to alias releases:

Myself and Dave Golden had been working on reducing the size of Module-CoreList
(Mainly Dave to be fair).

The work so far is at

All the data is compressed and uuencoded.

This does have an affect on performance.

# current corelist
$ time corelist -a CPANPLUS


real    0m1.105s
user    0m0.947s
sys     0m0.049s

# snorelist corelist
$ time perl -Mblib blib/script/corelist -a CPANPLUS


real    0m3.810s
user    0m1.462s
sys     0m1.839s

Even with delta'd information that is a 8000+ file :(

Chris Williams
aka BinGOs
PGP ID 0x4658671F

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About