-
Notifications
You must be signed in to change notification settings - Fork 1k
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
speed up Uint160.CompareTo and Uint256.CompareTo function #552
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
117191b
fix zero connect
lightszero 21af30c
Merge branch 'master' of https://github.com/lightszero/neo
lightszero d28de9a
speed up bytes.CompareTo X3 times maybe more.
lightszero 0aab489
Update UInt256.cs
shargon 47e75cf
fix a length error
lightszero 870c0aa
Merge branch 'master' into master
vncoelho 5fb76ff
Merge branch 'master' into master
shargon b46a694
Merge branch 'master' into master
igormcoelho 027fe33
Merge branch 'master' into master
igormcoelho cd702d5
Merge branch 'master' into master
igormcoelho 6533b4a
Merge branch 'master' into master
vncoelho 9885b0a
Merge branch 'master' into master
lightszero 97fb4cb
Merge branch 'master' into master
lightszero 275ce34
Merge branch 'master' into master
lightszero bd6bde4
Merge branch 'master' into master
shargon f918458
Merge branch 'master' into master
lightszero 9a8827c
Merge branch 'master' into master
lightszero 3a44de2
make uint benchmarks short,becauce can't pass github test.
lightszero d5c1be1
cleanup
erikzhang f3c7312
Merge branch 'master' into master
lightszero 07d81d2
Merge branch 'master' into master
shargon 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
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
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.
I thought we were going to unroll to use 1
uint
comparison and 2ulong
comparisons instead of 5uint
comparisons?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.
yes,can do more test to find a fast way.
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.
Can we resolve this, @jsolman? Maybe we could add this change in another PR after another tests.
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.
It can be switched 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.
I dismissed the review; this comment can be left open though while the PR can still be approved.