Re: Couple of patches
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: