{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
gh-96954: use a directed acyclic word graph for storing the unicodedata codepoint names #97906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
0fb902f
intermediate commit: start working on porting pypy dawg to store unic…
cfbolz 80a8470
start porting lookup to the compact DAWG
cfbolz 8e22650
implement inverse lookup
cfbolz ab8ee48
cleanup script
cfbolz d72faa3
refactor a bit
cfbolz 4478542
add comments, some cleanup
cfbolz c307224
fix inverse lookup
cfbolz 2f663b2
check that names are actually shorter than NAME_MAXLEN
cfbolz 1102b6a
explain why we can't use topological sorting
cfbolz fba25e3
use topological sorting, found a way to do it
cfbolz 330ef08
Merge remote-tracking branch 'origin/main' into unicodenames-dawg
cfbolz 7bccc32
fix: make sure that looking up lower case unicode names works
cfbolz 4e4eb7a
update comment
cfbolz b7ad39e
3.2.0 doesn't have aliases or named sequences
cfbolz a577528
move the handling of from _getcode into the two callers
cfbolz 489b1d5
blurb
cfbolz 999c106
maybe fix ReST
cfbolz a7742e3
fix whitespace, don't know what happened here
cfbolz 28102ad
consistently use unsigned ints everywhere
cfbolz 2ec1438
small simplification
cfbolz c5039c5
do a cleanup pass after Łukasz feedback
cfbolz bd8d80b
use Py_SAFE_DOWNCAST, nicer str calls
cfbolz a87d561
use a cached_property for num_reachable_linear
cfbolz d9b45ae
add tests for unicodedata.lookup and .name which actually fail
cfbolz 827100a
Merge branch 'main' into unicodenames-dawg
cfbolz 4443289
Merge branch 'main' into unicodenames-dawg
cfbolz 75c8550
Merge branch 'main' into unicodenames-dawg
ambv 3c3a9db
Update unicodename_db.h after upgrade to Unicode 15 in GH-96809
ambv a627d7b
update space saving numbers after unicode 15.1
cfbolz 6735494
actually update Objects/unicodetype_db.h as well
cfbolz a3a8b58
no, I was wrong about the size, the effect isn't that huge
cfbolz 8fb106a
add makefile target for regenerating the unicodedata
cfbolz 8b52621
always check the result of dawg generation at construction time
cfbolz 57af105
more sensible __hash__ and __eq__
cfbolz 3148c85
improve comments and docstrings
cfbolz a6deecf
rename confusingly named argument
cfbolz cc3600f
add unittests for the dawg code
cfbolz cccf356
fix fixpoint bug
cfbolz 776bd1a
fix comment
cfbolz 1cb4a69
fix typo
cfbolz d49e871
clearer names
cfbolz dfb0580
check for empty dawg
cfbolz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor a bit
- Loading branch information
commit d72faa30b512d7f5508aacdb5a46e2f654c65d24
There are no files selected for viewing
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
You can’t perform that action at this time.

Uh oh!
There was an error while loading. Please reload this page.