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/2000-March/002814.html below:

[Python-Dev] Unicode charnames impl.

[Python-Dev] Unicode charnames impl.Andrew Kuchling akuchlin@mems-exchange.org
Sat, 25 Mar 2000 12:58:56 -0500 (EST)
Christian Tismer writes:
>This is simply not the place to use a dictionary.
>You don't need fast lookup from names to codes,
>but something that supports incremental search.
>This would enable PythonWin to sho a pop-up list after
>you typed the first letters.

Hmm... one could argue that PythonWin or IDLE should provide their own
database for incremental searching; I was planning on following Bill
Tutt's suggestion of generating a perfect minimal hash for the names.
gperf isn't up to the job, but I found an algorithm that should be OK.
Just got to implement it now...  But, if your approach pays off it'll
be superior to a perfect hash.

>Is there any reason why you didn't use the UnicodeData.txt file,
>I mean do I cover everything if I continue to use that?

Oops; I saw the NameList file and just went for it; maybe it should
use the full UnicodeData.txt.

--amk



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