parallelization + array = ParallelArray
The idea is that a ParallelArray represents a collection of structurally similar data items, and you use the methods on ParallelArray to create a description of how you want to slice and dice the data. You then use the description to actually execute the array operations, which uses the fork-join framework under the hood, in parallel…This idea coming in JDK 7 :)
In fact, here are some operations supported by ParallelArray:
- Filtering: selecting a subset of the elements
- Mapping: convert selected elements to another form
- Replacement: create a new
ParallelArrayderived from the original - Aggregation: combine all values into a single value
- Application: perform an action for each selected element
- avc
Categories: 16ms, Coding, Common, Java, Technology

Blurps