SSOHybridHashSet

Small-Size-Optimized (SSO) HybridHashSet.

TODO: search for nullify, isNull, nullValue and support deleted keys (isDull)

TODO: use opPostMove to update gc_addRange and gc_removeRange when implemented. See: https://github.com/dlang/DIPs/pull/109

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

InsertionStatus
alias InsertionStatus = Large.InsertionStatus
Undocumented in source.

Functions

contains
bool contains(K key)

Check if element is stored.

insert
InsertionStatus insert(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

binCount
size_t binCount [@property getter]

Get bin count.

capacity
size_t capacity [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

withCapacity
typeof(this) withCapacity(size_t minimumCapacity)
Undocumented in source. Be warned that the author may not have intended to support it.

See Also

Meta