Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-11-24 23:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (665 votes), past polls