Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Faster alternative to Math::Combinatorics

by Laurent_R (Canon)
on Sep 02, 2017 at 11:53 UTC ( [id://1198576]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            make_sets2( $weight -1, "$temp_result$item, ", ($item, @_));
        }
    }
    
  2. or download this
    $ time perl  multisets.pl
    count = 1
    ...
    real    0m0.048s
    user    0m0.015s
    sys     0m0.000s
    
  3. or download this
    $ time perl  multisets.pl > /dev/null
    
    real    0m0.043s
    user    0m0.000s
    sys     0m0.031s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found