[Rake-devel] recursive task invocation

Assaf Arkin assaf at labnotes.org
Wed Aug 13 16:36:30 EDT 2008


On Wed, Aug 13, 2008 at 1:28 PM, Jim Weirich <jim.weirich at gmail.com> wrote:
>
> On Aug 13, 2008, at 4:20 PM, Ittay Dror (Freiman) wrote:
>
>> and as i mentioned there are other benefits besides avoiding stack
>> overflow, mainly, the ability to utilize several cores/cpus without
>> thrashing the machine and being able to stop the whole execution on
>> errors.
>
>
> Using multiple cores/cpus is not possible with MRI, regardless of what rake
> does. (Or are you using 1.9 or JRuby?)

You can squeeze more performance if you're spawning processes or doing
I/O, but you might want to consider asynchronous tasks instead: invoke
and separately block waiting for the results.

Assaf

>
> --
> -- Jim Weirich
> -- jim.weirich at gmail.com
>
> _______________________________________________
> Rake-devel mailing list
> Rake-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rake-devel
>


More information about the Rake-devel mailing list