RFR 8012647: Add Arrays.parallelPrefix (prefix sum, scan, cumulative sum)

Chris Hegarty chris.hegarty at oracle.com
Mon Jun 17 14:28:13 UTC 2013


I haven't seen any convincing arguments to move away from 
parallelPrefix, or any strong objections to it, so I'll go ahead an 
finalize the API.

-Chris.

On 13/06/2013 10:30, Chris Hegarty wrote:
> On 06/12/2013 05:07 PM, Alan Bateman wrote:
>> On 12/06/2013 15:50, Chris Hegarty wrote:
>>> ...
>> Is the name final? Just curious if other names such as parallelScan have
>> been considered (and discarded).
>
> I think we should be open to discussing the name, but I will have to
> defer to Doug as to whether other names were considered/discarded.
>
> It seems the convention we are adopting for naming these new methods,
> whose implementation is parallelized, is to prefix the name with
> 'parallel' ( parallelSort, parallelSetAll ). Sounds fine. Otherwise I
> would have preferred something like prefixScan(..).
>
> Options so far:
>
> parallelPrefix(..) // what we have today
> parallelScan(..)
> parallelPrefixScan(..) // too long winded??
>
>> "Cumulates in parallel each element ...", I guess I would put a comma
>> before and after "in parallel".
>
> Yes, I will add this.
>
>> Otherwise the API looks good to me.
>
> Thanks Alan,
> -Chris.
>
>>
>> -Alan.
>>
>>
>>



More information about the core-libs-dev mailing list