dict.reserve and other tricks

Klaas mike.klaas at gmail.com
Fri Nov 17 19:12:51 EST 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