Variable chunk sizes operations

9il ilyayaroshenko at gmail.com
Sun Aug 30 04:32:17 UTC 2020


On Saturday, 29 August 2020 at 23:33:49 UTC, Mihaela Chirea wrote:
> I started working on this issue and I reached a point where 
> some more opinions would be needed:
>
> https://github.com/dlang/phobos/pull/7600

Mir solution for random-access ranges [1]. It has a slightly 
different API, instead of the chunk sizes, it uses the index 
sequence. Everything is O(1).

[1] 
http://mir-algorithm.libmir.org/mir_ndslice_topology.html#.chopped


More information about the Digitalmars-d mailing list