Perl 6 Parallelism in Perl 6 #18

Junction autothreading

Given an expression like

$a == any(@list)

the junction dispatcher distributes the == operation over the elements of the junction. The result is the evaluation of

any( $a == @list[0], $a == @list[1], $a == @list[2], ... )

which becomes a junction of true/false values.

The individual == operations can be distributed among multiple threads and performed in parallel.

Copyright © 2013
http://www.pmichaud.com/2013/pres/