-
Notifications
You must be signed in to change notification settings - Fork 143
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
Smaller tables #68
Merged
Merged
Smaller tables #68
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ae05923
convert sequences to utf-16 (saves 25kb)
benibela a1fc417
store sequence length in properties instead using -1 termination (sav…
benibela 462c8d1
cache index for slightly faster data creation
benibela d290275
store lower/upper/title mapping in sequence array (saves 25kb). Add u…
benibela 0b31fed
change combination array data type to uint16 (saves 40kb)
benibela 76a4a0f
merge 1st and 2nd comb index (saves 50kb)
benibela 14a7c7d
kill empty prefix/suffix in combination array (saves 50kb)
benibela fa48b92
Merge https://github.com/JuliaLang/utf8proc into smallertables
benibela d25e485
there was no need to have a separate combination start array, it can …
benibela bd5e0df
merge unicode 9
benibela 6d9fd75
some fixes
benibela bac56b7
mark the table as const again
benibela ad58d09
and regen
benibela 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
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This exception triggered in Unicode 14. @benibela, what do you suggest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevengj one bit needs to be taken from lencode (7 -> 3) and given to idx (0x1FFF -> 0x3FFF, 13 -> 14)
and the same in seqindex_write_char_decomposed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make a PR?