why () is () and [] is [] work in other way?
Devin Jeanpierre
jeanpierreda at gmail.com
Mon Apr 23 23:10:26 EDT 2012
On Mon, Apr 23, 2012 at 11:03 PM, Tim Delaney
<timothy.c.delaney at gmail.com> wrote:
> My claim is that doing this automatically for all integers and/or strings
> could lead to prohibitively-expensive performance characteristics, and done
> wrong to prohibitively-expensive memory characteristics.
OK. I agree, and I'm not in favor of doing that. It's a nice
optimization, there's no point doing it in cases where it leads to
_worse_ performance.
-- Devin
More information about the Python-list
mailing list