K
kramb64
I already submitted a bug, but I'm curious to know if anybody ran into
this.
Try this program on Windows with python 2.3.3 and with python 2.2:
import shelve
a=shelve.open("a", "c")
for x in xrange(10000):
a[str(x)]=x
print str(x) + "\r",
a.close()
After about 7000/8000 insertions, the program gets so slow...
With python 2.2 it ends in a blink!
Really strange, isn't it?
Ciao.
Marco.
this.
Try this program on Windows with python 2.3.3 and with python 2.2:
import shelve
a=shelve.open("a", "c")
for x in xrange(10000):
a[str(x)]=x
print str(x) + "\r",
a.close()
After about 7000/8000 insertions, the program gets so slow...
With python 2.2 it ends in a blink!
Really strange, isn't it?
Ciao.
Marco.