Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-10-10 06:32 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls