performance of tuple-less Python?
François Pinard
pinard at iro.umontreal.ca
Mon Nov 29 12:45:36 EST 1999
"Greg Wilson" <gvwilson at nevex.com> writes:
> [...] the use of tuples (which I believe are conceptually redundant) [...]
Tuples may be used to index within dictionaries, and I find this feature
very useful. Lists may not. I do not know the implementation details,
but would be tempted to have the prejudice (:-) that using lists to index
would imply some severe performance penalty.
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list