Changes for version 0.08

  • Changed hyphens in test filenames with underscores
  • The module is known to run under 5.6.2, so the corresponding use VERSION has been added
  • variations(\@data, $k) is delegated to permutations(\@data) for @data == $k, since permutations() is more efficient
  • Changed AV* in signatures to SV* plus a cast (SV*) SvRV(array) due to problems reported regarding AVPtrs. I copied the trick from the Changes of Digest::SHA. (Thanks to Aaron Dalton for reporting the problem.)
  • variations() is much better, almost twice as fast and does not create SVs

Modules

Efficient generation of combinatorial sequences

Provides

in lib/Algorithm/Combinatorics/C.pm
in lib/Algorithm/Combinatorics/Iterator.pm
in lib/Algorithm/Combinatorics/Iterator.pm