-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Refactor/stackify all the things #5343
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
base: develop
Are you sure you want to change the base?
Refactor/stackify all the things #5343
Conversation
|
This pull request has conflicts, please rebase. |
This reverts commit bc474e05f0b59d757d0fcf31adea9309b1ae7071.
This reverts commit 4583ae1893cdb96613996ca700ffcb735595ae1c.
This saves ~2% of cycles on a reindex from 0-500000 on testnet
de9efb5 to
b458255
Compare
|
This pull request has conflicts, please rebase. |
❌ Backport Verification - Not ApplicableOriginal Bitcoin commit: N/A (this is not a Bitcoin backport) Issues found:
Analysis: Next Steps:
This verification system is designed for Bitcoin Core backports. For original Dash development, please follow the standard PR review process. |
Before 227.80s user 48.84s system 97% cpu 4:42.30 total
After 229.49s user 49.36s system 98% cpu 4:43.40 total
Issue being fixed or feature implemented
Move items off the heap and to the stack when possible.
What was done?
Attempted to avoid all uses of std::vector where we know the size of the objects, instead using Span and std::array
How Has This Been Tested?
Reindexed testnet multiple times
Breaking Changes
Should be none
Checklist:
Go over all the following points, and put an
xin all the boxes that apply.