[Python-Dev] d.get_key(key) -> key?
Greg Ewing
greg@cosc.canterbury.ac.nz
Fri, 07 Jun 2002 13:10:17 +1200 (NZST)
> > Is this worth it?
>
> I think it is.
I think so, too. Currently, interning can *almost* be
regarded as no more than an optimisation that speeds
up comparing strings -- almost, because it has this
side effect of making the strings immortal.
Removing that side effect would be good.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+