sam wrote:
> hi all,
> ...
> has anyone else bumped up against this problem before? i suppose
> for-loops with 250 million iterations are seldom used in most
> applications. it was just the first time i'd ever solved a problem by
> actually having some insight into how python works at a slightly
thanks, i'll remember that. it makes sense that there should be a way
of doing it...
sam
--
http://mail.python.org/mailman/listinfo/python-list
sam wrote:
> so far so good, but i was using 'for i in the range(iterations):' a
> for loop over each slice of time, where the number of iterations was
> getting into the tens of millions. up until about 125,000,000 it
> worked, then i got a MemoryError.
Your analysis was correct - range() return
hi all,
i am writing some software to model polymerisation kinetics and have
created a way of doing so which involves taking ever smaller slices of
time to model until some sort of convergence was observed in the
results.
so far so good, but i was using 'for i in the range(iterations):' a for
loo