ocean ~master (2021-10-22T21:44:26.740458)
Dub
Repo
HashSet.threshold
ocean
util
container
HashSet
HashSet
Set the resize threshold, and resize as required
Time complexity: O(n)
float
threshold
()
void
threshold
(float desired)
class
HashSet
(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
void
threshold
(
float
desired
)
Meta
Source
See Implementation
ocean
util
container
HashSet
HashSet
aliases
Type
constructors
this
destructors
~this
functions
add
buckets
cache
check
clear
contains
dup
isEmpty
iterator
opApply
remove
replace
reset
size
take
threshold
toArray
Set the resize threshold, and resize as required
Time complexity: O(n)