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

Simplify counter #720

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Simplify counter #720

merged 3 commits into from
Nov 26, 2024

Conversation

rkhapov
Copy link
Collaborator

@rkhapov rkhapov commented Nov 26, 2024

No description provided.

rkhapov added 3 commits November 26, 2024 05:30
Currently there is no need in them

Signed-off-by: rkhapov <[email protected]>
It is not implemented

Signed-off-by: rkhapov <[email protected]>
Usaging of hashmap for counting small range of integers
is overkill (router and frontend statuses).

So this patch replace hash table with plain array of atomics.

Signed-off-by: rkhapov <[email protected]>
@rkhapov rkhapov merged commit 0a704db into yandex:master Nov 26, 2024
1 check passed
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.

2 participants