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: > https://github.com/dgl/perl/commit/e08139414a12cd6d613816f6eeee39b95a63538 > > Yes it uses tie, which I'm not entirely pleased with however see for > example: http://grep.cpan.me/?q=%5C%24Module%3A%3ACoreList%3A%3Aversion 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: > https://github.com/dgl/perl/commit/8d2b6197299cd9c5cf45bbc4016850cab1bd348f) > 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 https://github.com/bingos/module-snorelist All the data is compressed and uuencoded. This does have an affect on performance. # current corelist $ time corelist -a CPANPLUS <snip> real 0m1.105s user 0m0.947s sys 0m0.049s # snorelist corelist $ time perl -Mblib blib/script/corelist -a CPANPLUS <snip> real 0m3.810s user 0m1.462s sys 0m1.839s Even with delta'd information that CoreList.pm is a 8000+ file :( -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================Thread Previous | Thread Next