-
Notifications
You must be signed in to change notification settings - Fork 760
rewrite graph struct to be 200 times faster #3882
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 all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
2abe611
rewrite graph struct to be 25 times faster
pmnoxx f502405
ignore unreachable nodes
pmnoxx 7e9f638
add TODO
pmnoxx f733270
Update chain/network/src/routing.rs
pmnoxx f63e85f
Update chain/network/src/routing.rs
pmnoxx a541932
Update chain/network/src/routing.rs
pmnoxx ed15aab
cleanup
pmnoxx 27c45b4
Update chain/network/src/routing.rs
pmnoxx 73e46e3
Update chain/network/src/routing.rs
pmnoxx 353f5a7
Update chain/network/src/routing.rs
pmnoxx a4a494d
cleanup
pmnoxx d393015
cleanup
pmnoxx 5a12baf
cleanup
pmnoxx 42aa9db
cleanup
pmnoxx bf2dc03
rewrite Graph to use FreeList and make code cleaner
pmnoxx b14d0f3
fix tests
pmnoxx 9f77149
fix warnings
pmnoxx 737fd4e
Update chain/network/src/routing.rs
pmnoxx 2e7a094
hotfix
pmnoxx fd63837
fix tests
pmnoxx 5c4f8b7
Add a check for max_num_peers
pmnoxx 4e6699e
fix tests
pmnoxx c31666b
fix tests
pmnoxx f2258da
cleanup
pmnoxx 524deeb
test
pmnoxx 06a77fb
Update Cargo.toml
pmnoxx c0492f6
Update routing.rs
pmnoxx d0440cf
Update testbed_runners.rs
pmnoxx 6c648d8
Update graph.rs
pmnoxx 996c514
Update lib.rs
pmnoxx 719d396
Update peer_manager.rs
pmnoxx 9193a0f
Update routing.rs
pmnoxx faca2d7
Update routing.rs
pmnoxx 48fad97
move source_id to Graph struct
pmnoxx 79d762c
cleanup
pmnoxx 25ab2ab
Update routing.rs
pmnoxx 7b1f9e9
Update routing.rs
pmnoxx c35f9eb
Update routing.rs
pmnoxx 56556e6
Update routing.rs
pmnoxx 39b6c09
Update routing.rs
pmnoxx ab8d686
fix bug in get_raw_graph
pmnoxx 8cdec9a
cleanup
pmnoxx 18f3591
remove freelist
pmnoxx 778f20d
cleanup
pmnoxx 8476ab4
remove usage of FxHashMap
pmnoxx aa5b63f
stop using rustc-hash
pmnoxx 1527689
fix tests
pmnoxx 6e371cf
guard get_raw_graph with feature
pmnoxx 073c335
count number of unreachable nodes
pmnoxx 455f870
print number of unreachable nodes
pmnoxx bf3e9aa
cleanup
pmnoxx 2f23ce8
cleanup
pmnoxx a24bde1
hotfix
pmnoxx f8bf83e
modify test for the issue
pmnoxx 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
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.