Skip to content

Commit

Permalink
perf: switch to ska::flat_hash_map instead of std::unordered_map (#30)
Browse files Browse the repository at this point in the history
* perf: switch to ska::flat_hash_map instead of std::unordered_map

Small ~10% improvement to connectomics.npy renumber, but ~45%
improvement to a random array.

* fix: support 32-bit

skarupke/flat_hash_map#18

* fix: allocate default table

Avoids problems with dynamic library situations:
skarupke/flat_hash_map#26

* fix: use more compatible definition of void_t

* docs: update comment date
  • Loading branch information
william-silversmith committed May 25, 2022
1 parent 6143478 commit c8a750b
Show file tree
Hide file tree
Showing 4 changed files with 19,887 additions and 15,729 deletions.
Loading

0 comments on commit c8a750b

Please sign in to comment.