Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Speeding permutation counting

by ikegami (Patriarch)
on Jul 18, 2007 at 15:44 UTC ( [id://627281]=note: print w/replies, xml ) Need Help??


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,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://627281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found