dict.reserve and other tricks

Klaas mike.klaas at gmail.com
Sat Nov 18 01:12:51 CET 2006


bearophileHUGS at lycos.com wrote:
> Klaas:
>
> > Well, you can reduce the memory usage to virtually nothing by using a
> > generator expression rather than list comprehension.
>
> Are you sure? I don't think so. Can you show a little example?

Sorry, that was boneheaded and wrong.

-Mike




More information about the Python-list mailing list