On Sun, Apr 21, 2013 at 1:14 AM, Dan Filimon <[email protected]>wrote:

> Would this not work?


[special loop to support multiple reader paradigm similar to map-reduce in
a threaded model]

Yes.  What you suggest would work.

But multi-threaded assign would be very dangerous.  Even if you assign
different parts of the vector to different threads, you have to worry about
cache line alignment which is generally not visible to Java without very
special effort.

Reply via email to