Skip to content

Conversation

@PastaPastaPasta
Copy link
Member

@PastaPastaPasta PastaPastaPasta commented Apr 21, 2023

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 x in all the boxes that apply.

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@github-actions
Copy link

This pull request has conflicts, please rebase.

@PastaPastaPasta PastaPastaPasta force-pushed the refactor/stackify-all-the-things branch from de9efb5 to b458255 Compare June 14, 2023 18:40
@github-actions
Copy link

github-actions bot commented Jul 1, 2023

This pull request has conflicts, please rebase.

@DashCoreAutoGuix
Copy link

❌ Backport Verification - Not Applicable

Original Bitcoin commit: N/A (this is not a Bitcoin backport)
Reviewed commit hash: b458255073-verify-$(date +%s)

Issues found:

  • This PR is original Dash development work, not a Bitcoin Core backport
  • The PR has unresolved merge conflicts that need to be addressed
  • No CI checks are running (likely due to conflicts)

Analysis:
This PR implements Dash-specific performance optimizations by converting std::vector usage to std::array and Span where possible. While this is valuable development work, it does not follow the Bitcoin backport process and should be reviewed using standard Dash development procedures.

Next Steps:

  1. Resolve the merge conflicts indicated by the bot comments
  2. Ensure CI checks pass after conflicts are resolved
  3. Have this reviewed as a standard Dash feature PR, not a backport

This verification system is designed for Bitcoin Core backports. For original Dash development, please follow the standard PR review process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants