range chunks

Peter Alexander peter.alexander.au at gmail.com
Fri Aug 6 23:22:33 PDT 2010


On 7/08/10 2:51 AM, Andrei Alexandrescu wrote:
> On 08/06/2010 06:52 PM, bearophile wrote:
>> Philippe Sigaud:
>>> Yeah, partition, chunk, segment, it a basic thing, worth including in
>>> std.range.
>>
>> The most common name is partition().
>
> When I see "partition" I think it's quicksort's partition algorithm...
>
> Andrei

Yeah, partition has always meant that to me as well.

I'd call that "chunking" algorithm "divide" because it is dividing the 
range into equal parts.


More information about the Digitalmars-d mailing list