phobos-next v0.5.1 (2022-12-21T17:07:30Z)
Home
Dub
Repo
SSOHashMapOrSet.rehash
nxt
sso_hashmap_or_hashset
SSOHashMapOrSet
Rehash.
Reorganize
this
in place so that lookups are more efficient.
struct
SSOHashMapOrSet
(K, V = void, alias Allocator = null, alias hasher = hashOf, uint smallBinMinCapacity = 1, uint growScaleP = 3, uint growScaleQ = 2)
pragma(
inline
) ref @
trusted
typeof
(this)
rehash
()
(
)
if
(
smallBinMinCapacity
>= 1
)
Meta
Source
See Implementation
nxt
sso_hashmap_or_hashset
SSOHashMapOrSet
aliases
ConstThis
ElementType
InsertionStatus
KeyType
MutableThis
ValueType
destructors
~this
functions
autoinitIncAt
binCount
binCounts
clear
contains
dup
empty
get
insert
insertMoveWithoutBinCountGrowth
insertN
length
opBinaryRight
opEquals
opIndex
opIndexAssign
opSlice
rehash
remove
reserveExtra
manifest constants
hasValue
keyEqualPred
smallBinCapacity
postblits
this(this)
properties
byKey
byKeyValue
byValue
static functions
keyOf
keyRefOf
valueOf
withCapacity
withElements
structs
BinCounts
CT
T
Rehash.
Reorganize this in place so that lookups are more efficient.