Code runtime

Seb via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 6 03:58:32 PDT 2016


On Monday, 6 June 2016 at 10:44:10 UTC, Vladimir Panteleev wrote:
> On Monday, 6 June 2016 at 06:25:19 UTC, Andrei Alexandrescu 
> wrote:
>> * Just looked at std.permutation
>
> FWIW, there's also this:
>
> https://dlang.org/library/std/algorithm/iteration/permutations.html


and mir.combinatorics

http://docs.mir.dlang.io/latest/mir_combinatorics.html

if you are searching for more algorithms with range support. For 
all of these you can use the new Allocator API to allocate the 
initial state.


More information about the Digitalmars-d mailing list