I
Ivan Voras
I have this simple *dumb* benchmark-like program:
#import psyco
#psyco.full()
d = 0.0
for i in xrange(1000000000):
d += i
print d
I though I'd use it to try out psyco, but no, when I enable the first
two lines, python core-dumps:
Fatal Python error: psyco: out of memory
Abort (core dumped)
Now this isn't a real-world application example, but it's certainly
unexpected. Did psyco try to mimic range() and allocate 1G of integers?
(I'm running python 2.3.4 on FreeBSD 5)
#import psyco
#psyco.full()
d = 0.0
for i in xrange(1000000000):
d += i
print d
I though I'd use it to try out psyco, but no, when I enable the first
two lines, python core-dumps:
Fatal Python error: psyco: out of memory
Abort (core dumped)
Now this isn't a real-world application example, but it's certainly
unexpected. Did psyco try to mimic range() and allocate 1G of integers?
(I'm running python 2.3.4 on FreeBSD 5)