in reply to Re^2: Speeding permutation counting
in thread Speeding permutation counting

Do you have the benchmark code? I consider benchmark results useless without the accompanying benchmark code.

It's also stopping us from comparing our own solutions without redoing all your work.

If you're worried about the space it takes, use <readmore> or <spoiler> tags.

Replies are listed 'Best First'.
Re^4: Speeding permutation counting
by albert (Monk) on Jul 18, 2007 at 16:23 UTC
    Yeah, it was a space concern. Took things right from the solutions, and code includes other things I was testing (and your suggestion as well).

    Details...

      It's already bad enough that the code being benchmark is in a sub. Adding another sub in the call chain hurts that much more. To remove the extra sub call, use

      blokchop => \&blokchop, orig => \&orig, browserUK => \&browserUK, ikegami => \&ikegami,