C++ implementation of a fast hash map and hash set using robin hood hashing
The robin-map library is a C++ implementation of a fast hash map and hash set
using open-addressing and linear robin hood hashing with backward shift
deletion to resolve collisions.
Four classes are provided: tsl::robin_map, tsl::robin_set, tsl::robin_pg_map
and tsl::robin_pg_set. The first two are faster and use a power of two growth
policy, the last two use a prime growth policy instead and are able to cope
better with a poor hash function. Use the prime version if there is a chance of
repeating patterns in the lower bits of your hash (e.g. you are storing
pointers with an identity hash function). See GrowthPolicy for details.
A benchmark of tsl::robin_map against other hash maps may be found here. This
page also gives some advices on which hash table structure you should try for
your use case (useful if you are a bit lost with the multiple hash tables
implementations in the tsl namespace).
- Sources inherited from project home:frispete:blender
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Maddie:graphics/robin-map && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
robin-map-0.6.2.tar.gz | 0000063782 62.3 KB | |
robin-map.changes | 0000000297 297 Bytes | |
robin-map.spec | 0000002638 2.58 KB |
Latest Revision
osc copypac from project:home:plater:blender package:robin-map revision:5
Comments 0