Batch operations

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 10 22:54:06 PDT 2016


On Tuesday, 11 October 2016 at 03:20:54 UTC, Stefan Koch wrote:
> On Tuesday, 11 October 2016 at 03:05:12 UTC, Nicholas Wilson 
> wrote:
>> Splitting this from the colour 
>> thread(https://forum.dlang.org/thread/mailman.961.1475765646.2994.digitalmars-d@puremagic.com?page=1).
>>
>> [...]
>
> This will bloat like hell.
> The best way would be to provide special Range-Definitions for 
> those.
> Such as
> T[4] Front4 ()
> or popFront4

It will be possible to have an overload for ranges that have 
slicing, that copies in chunks.


More information about the Digitalmars-d mailing list