Duncan Booth: > I tried to measure this with timeit, and it looks like the 'del' is > actually quite a bit faster (which I find suprising).
Yes, it was usually faster in my benchmarks too. Something similar is true for dicts too. I think such timings are influenced a lot by the garbage collector. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list