Home > 16ms, Coding, Common, Java, Technology > parallelization + array = ParallelArray

parallelization + array = ParallelArray

October 17th, 2008 AVC Leave a comment Go to comments

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 ParallelArray derived 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 Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.