Re: Couple of patches
- To: debian-lint-maint@lists.debian.org
- Subject: Re: Couple of patches
- From: Russ Allbery <rra@debian.org>
- Date: Sat, 28 Feb 2009 21:00:25 -0800
- Message-id: <[🔎] 87sklx7s7q.fsf@windlord.stanford.edu>
- In-reply-to: <gn5scm$uud$1@ger.gmane.org> (Raphael Geissert's message of "Sat\, 14 Feb 2009 01\:38\:07 -0600")
- References: <gmb6m7$f0n$1@ger.gmane.org> <87wsc2svuo.fsf@windlord.stanford.edu> <gml6bl$eju$1@ger.gmane.org> <87prhsz2u5.fsf@windlord.stanford.edu> <gmu08d$rph$1@ger.gmane.org> <gmvds2$okf$1@ger.gmane.org> <87d4domgyv.fsf@windlord.stanford.edu> <gn0a6j$qfu$1@ger.gmane.org> <87vdrgkz44.fsf@windlord.stanford.edu> <gn5scm$uud$1@ger.gmane.org>
Raphael Geissert <atomo64+debian@gmail.com> writes:
> Russ Allbery wrote:
>> Raphael Geissert writes:
>>> At least the collection scripts could be run in parallel. All the
>>> collection scripts with the same Order should run in parallel just
>>> fine, and once the dependencies are done or all the scripts of the
>>> same Order are done the next ones could be run. That ain't complex, it
>>> would be just like running <command> & in a shell.
>> True, and we could do that with IPC::Run right now. That's a good
>> idea.
> Do you handle that one?
Not at the moment. I have lots of other things I want to work on first.
> Attached is the PoC and another set of optimisations.
Optimizations applied. Thanks!
The proof-of-concept looks like a reasonable approach. I hadn't thought
of using Data::Dumper for this. I wonder if there are any other Perl
modules that does this (save a Perl data structure in Perl code) a bit
more directly without needing the regex munging.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: