-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add native UTF-8 Validation using fast shift based DFA #47880
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
oscardssmith
merged 38 commits into
JuliaLang:master
from
ndinsmore:native_utf8_validation
Apr 12, 2023
+343
−10
Merged
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a823880
Working Native UTF-8 Validation
ndinsmore 92a72d7
Comment fix
ndinsmore 34a937d
Appears working
ndinsmore 2affea1
Slight Fix and push for buildkite
ndinsmore 21b52aa
Spit out statemachine and added comments
ndinsmore 57a4d2a
Remove Fastpath f& simplify isvalid
ndinsmore 877ba93
Minor fixes and mega comment on methodolgy
ndinsmore 0c4b348
Comment
ndinsmore b6b25c7
whitespaces
ndinsmore a019b68
Additional state comments
ndinsmore 5d80826
Fix Comment
ndinsmore ffd8a1a
Change table definition to let block
ndinsmore 4530d89
Build table with let block
ndinsmore a0f6a1c
@stevenjg recommendations
ndinsmore 24d45d4
fix
ndinsmore b11c1ef
Switch to AbstractVector
ndinsmore 54d49fb
Switch to codeunits
ndinsmore f853b46
Fix
ndinsmore be98022
Change order of operations
ndinsmore d54656d
fix
ndinsmore c40daff
Add inlining & fix comments
ndinsmore 394c4fa
Agressive inlining
ndinsmore a0cdd13
Whitespace
ndinsmore a2691af
Remove Commented Code
ndinsmore 7dc6a68
Fix Comments
ndinsmore b446597
Changed DFA to track isascii & added state diagram
ndinsmore b989d0d
Fix states discription
ndinsmore 2795250
Add tests to validate DFA
ndinsmore bc0e662
Trailing newline
ndinsmore 557bda6
State to UInt32 & use SMTsolver derived shifts
ndinsmore aaf8863
Add Chunk based byte_string_classify
ndinsmore 8006d60
Chunk based processing
ndinsmore cd467dd
Merge branch 'master' into native_utf8_validation
oscardssmith a6e3383
Update base/strings/string.jl
ndinsmore d1a129c
Change State Arrays to a matrix
ndinsmore 331f05d
Merge branch 'native_utf8_validation' of github.com:ndinsmore/julia i…
ndinsmore 661ec93
Merge branch 'master' into native_utf8_validation
oscardssmith d456837
Merge branch 'master' into native_utf8_validation
oscardssmith 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 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
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
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.
Uh oh!
There was an error while loading. Please reload this page.