On Nov 11, 11:51 am, Michael Bacarella <[EMAIL PROTECTED]> wrote:
> and see it take about 45 minutes with this:
>
> $ cat cache-keys.py
> #!/usr/bin/python
> v = {}
> for line in open('keys.txt'):
> v[long(line.strip())] = TrueOn my system (windows vista) your code (using your data) runs in: 36 seconds with python 2.4 25 seconds with python 2.5 39 seconds with python 3000 i. -- http://mail.python.org/mailman/listinfo/python-list
