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/026128.html below:

[Python-Dev] Alternative implementation of string interning

[Python-Dev] Alternative implementation of string interningGreg Ewing greg@cosc.canterbury.ac.nz
Wed, 03 Jul 2002 17:23:23 +1200 (NZST)
Oren Tirosh <oren-py-d@hishome.net>:

> Tim Peters:
> 
> > What would the point be?  That is, instead of "why not?", why?  As to "why
> > not?", there's something about elevating what's basically an optimization
> > hack to a type that makes me squirm.
> 
> Change the name from 'istr' to 'symbol' and add a mild case of language envy
> and you'll see why ;-)

But in Lisp, symbols and strings really are completely
separate types. That's not the case in Python, and you
still haven't really given a reason why they should be.

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	   +--------------------------------------+




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