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

optimize slots map with IntMap #28

Open
grooviegermanikus opened this issue Aug 14, 2024 · 0 comments
Open

optimize slots map with IntMap #28

grooviegermanikus opened this issue Aug 14, 2024 · 0 comments

Comments

@grooviegermanikus
Copy link
Collaborator

this slots: HashMap<u64, SlotData> field has some 33 entries

HashMap

2024-08-14T11:40:09.325933Z INFO replay_slot_account_stream: slot_cnt: 124636, account_cnt: 4908189, elapsed: 75.98s

IntMap

2024-08-14T11:37:18.013434Z INFO replay_slot_account_stream: slot_cnt: 124636, account_cnt: 4908189, elapsed: 48.70s

See more about map alternatives

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

No branches or pull requests

1 participant