1 Nov 2005 fxn   » (Master)

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.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!