A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026101.html below:

[Python-Dev] Alternative implementation of string interning

[Python-Dev] Alternative implementation of string interning [Python-Dev] Alternative implementation of string interningFredrik Lundh fredrik@pythonware.com
Tue, 2 Jul 2002 13:18:31 +0200
Oren Tirosh wrote:

> Even this is not a problem yet unless the code also expects that if =
the
> same string is ever interned again it will get the same integer id and =
breaks
> if it doesn't.  I can't believe anyone is stupid enough to do that.

do what?  trust the documentation?

    intern(string)=20
  Enter string in the table of ``interned'' strings and return the
  interned string - which is string itself or a copy. /.../ Interned
  strings are immortal (never get garbage collected).
</F>





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4