Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Generator of integer partitionts of n

by tilly (Archbishop)
on Aug 28, 2004 at 17:51 UTC ( #386627=note: print w/replies, xml ) Need Help??

in reply to Re^2: Generator of integer partitionts of n
in thread Generator of integer partitionts of n

Some random advice for you.

Depending on what you're doing, you should reconsider your desire to keep this data in an array. As n grows, the data requirements for that array grow rapidly. Once you use up available RAM (which happens sooner than you'd think), you're in trouble.

Changing your flow of control of your actual problem to avoid having to have it all in memory at once will let you calculate several more values of whatever you're trying to calculate.

  • Comment on Re^3: Generator of integer partitionts of n

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2016-10-25 19:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (328 votes). Check out past polls.