cdogs-sdl
cdogs-sdl copied to clipboard
Shift to another hasmap implementation from the deprecated `c_hashmap`
Hello!
Currently, we are using c_hashmap
https://github.com/petewarden/c_hashmap which has been deprecated and suggests https://github.com/sheredom/hashmap.h as a replacement.
From https://github.com/petewarden/c_hashmap/blob/master/README:
"This version is now deprecated, since it's unmaintained. @sheredom
has a newer version at https://github.com/sheredom/hashmap.h"
I researched a bit and these are some of the popular hashmap implementations:
- https://github.com/sheredom/hashmap.h (suggested by c_hashmap)
- https://github.com/skarupke/flat_hash_map
- https://github.com/greg7mdp/parallel-hashmap
- https://github.com/khizmax/libcds
IMHO, we should move to any of these or any other active hashmap implementation from the current deprecated c_hashmap
.
I can take this one if https://github.com/sheredom/hashmap.h sounds as an apt alternative.
Sure, happy to review a PR that implements this, but please make sure we regression test all the places that use hashmaps