Skip to content
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

netsync: Contiguous hashes for initial state reqs. #2825

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Nov 20, 2021

This modifies the internal messaging for initial state requests to use slices of contiguous block hashes instead of slices of pointers. Contiguous slices produce much less heap objects that the GC needs to scan and are better for cache locality.

@davecgh davecgh added this to the 1.7.0 milestone Nov 20, 2021
This modifies the internal messaging for initial state requests to use
slices of contiguous block hashes instead of slices of pointers.
Contiguous slices produce much less heap objects that the GC needs to
scan and are better for cache locality.
@davecgh davecgh force-pushed the netsync_initial_state_contiguous_hashes branch from a5e47e8 to 4627832 Compare November 24, 2021 19:31
@davecgh davecgh merged commit 4627832 into decred:master Nov 24, 2021
@davecgh davecgh deleted the netsync_initial_state_contiguous_hashes branch November 24, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants