Algorithm::Combinatorics
I have been playing around with the Perl API via Inline::C. This is for my new pet module Algorithm::Combinatorics (work in progress).
Algorithm::Combinatorics is a generator of (lazy) combinatorial sequences written in XS. Having all the looping implemented in C speeds the iterators up by several orders of magnitude compared to the pure Perl Math::Combinatorics.
As of today I have chosen the interface, implemented combinations, combinations with repetition, and variations with repetition, as well as a handful of tests.
