[WIP] bpo-39465: _PyUnicode_FromId() now uses an hash table by vstinner · Pull Request #20048 · python/cpython
Rewrote _Py_Identifier structure and _PyUnicode_FromId() function to store Python objects in an hash table rather than a single-linked list. Add _PyUnicode_PreInit() to create the hash table: it must be called before the first PyType_Ready() call.
vstinner
deleted the
unicode_fromid_hashtable
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters