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

Refactor/stackify all the things #5343

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

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.

@github-actions
Copy link

github-actions bot commented Jul 1, 2023

This pull request has conflicts, please rebase.

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.

None yet

1 participant