-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sources/counter.h: remove unused TODO's Currently there is no need in them Signed-off-by: rkhapov <[email protected]> * sources/counter.h: remove od_counter_erase It is not implemented Signed-off-by: rkhapov <[email protected]> * sources/counter.c: hashmap -> plain array 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]> --------- Signed-off-by: rkhapov <[email protected]> Co-authored-by: rkhapov <[email protected]>
- Loading branch information
Showing
3 changed files
with
50 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters