This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients abacabadabacaba, belopolsky, eric.smith, ezio.melotti, maker, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, stutzbach
Date 2012-09-24.16:23:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348503819.79.0.0868860186283.issue8425@psf.upfronthosting.co.za>
In-reply-to
Content
> $ ./python.exe -m timeit  -n 100 -s "s= set(range(2000)); l = set(range(20000000))"   "s-=l"

s is empty set after first loop. Try this:

$ ./python.exe -m timeit  -n 100 -s "s= set(range(2000)); l = set(range(2000,2000+20000000))"   "s-=l"
History
Date User Action Args
2012-09-24 16:23:39serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, belopolsky, eric.smith, stutzbach, ezio.melotti, r.david.murray, abacabadabacaba, maker
2012-09-24 16:23:39serhiy.storchakasetmessageid: <1348503819.79.0.0868860186283.issue8425@psf.upfronthosting.co.za>
2012-09-24 16:23:39serhiy.storchakalinkissue8425 messages
2012-09-24 16:23:39serhiy.storchakacreate