-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[resubmit] BigInteger parsing optimization for large decimal string #55121
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
tannergooding
merged 16 commits into
dotnet:main
from
key-moon:bigint-parse-divide-conquer
Mar 23, 2022
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e93dde5
implement divide-and-conquer method for parsing digits
key-moon 2fdbe45
fix argument order in Assert when x equals to 0
key-moon 7d89c46
Apply format fix
key-moon 417a8a3
add test for non-naive algorithm
key-moon eb7be98
add description for naiveThreshold
key-moon 8f79da7
fix trivial part
key-moon 9a432db
add check for boundary condition
key-moon fce80e8
add assertions and descriptions
key-moon f6eadca
change variable name
key-moon c3903db
remove inappropreate use of var
key-moon a9942c5
to use ArrayPool<int>.Shared.Rent for newBuffer allocation
key-moon 460664f
move both algorithms to separate methods
key-moon 607f51c
add and fix comments
key-moon 7f9fcd8
merge main branch to resolve conflicts
key-moon 470d761
trivial fix
key-moon b1c717b
Merge branch 'main' into bigint-parse-divide-conquer
key-moon 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
add description for naiveThreshold
- Loading branch information
commit eb7be98b9bc1d12297a45ee8da417e384474ea6f
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.
Uh oh!
There was an error while loading. Please reload this page.