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

Added command line parameter to control SLOT_DISTANCE value #149

Merged
merged 1 commit into from Oct 5, 2021
Merged

Added command line parameter to control SLOT_DISTANCE value #149

merged 1 commit into from Oct 5, 2021

Conversation

bmuddha
Copy link
Collaborator

@bmuddha bmuddha commented Oct 5, 2021

Things to consider:
AccountUpdateManager struct potentially might have a lot of instances,
and withc current implementation every instance will eat up additional 4
bytes.
Alternative would be to create a mutable static, and initialize it once at
program startup, while this would introduce unsafe into code, it will
remove unnecessary overhead of 4 bytes.

Things to consider:
AccountUpdateManager struct potentially might have a lot of instances,
and withc current implementation every instance will eat up additional 4
bytes.
Alternative would be to create a mutable static, and initialize it once at
program startup, while this would introduce unsafe into code, it will
remove unnecessary overhead of 4 bytes.
@polachok
Copy link
Collaborator

polachok commented Oct 5, 2021

LGTM

@polachok polachok merged commit eb8fedf into bestarch-ae:master Oct 5, 2021
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.

None yet

2 participants