4 ms·
An equivalent in P6: [1,2,3,4,5] X* 2 This (theoretically) parallel processes and then puts the results back in order. The X is the cross metaoperator; it a
by raiph 12y ago
An equivalent in P6:
[1,2,3,4,5] X* 2
This (theoretically) parallel processes and then puts the results back in order. The X is the cross metaoperator; it applies the following operator (the * symbol which is the multiply operator) to each of the combinations of the items in the lists on its left and right, and does so in parallel if the compiler so chooses, and ensures the results are returned as if it was processed sequentially.