A RetroSearch Logo

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

Search Query:

Showing content from http://www.python.org/pipermail/python-dev/2000-July/006712.html below:

[Python-Dev] RE: Unicode character name hashing

[Python-Dev] RE: Unicode character name hashing [Python-Dev] RE: Unicode character name hashingM.-A. Lemburg mal@lemburg.com
Sun, 16 Jul 2000 19:58:23 +0200
Tim Peters wrote:
> [hash function in unicodename]
> > ...on the other hand, it currently assumes that an "int" is at
> > least 32 bits.
> >
> > should I change this?
> 
> Absolutely!  "long" is the only way current C has to spell "at least 32". 

Note that Unicode code which needs enough bits to hold a UCS4
value should always use the Py_UCS4 type (see unicodeobject.h)...
any changes needed to assure the 32-bit nature should then
be made to the Py_UCS4 typedef.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



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