IrSmallSet

Stores 0-4 items inline Allocates memory from IrFuncStorage.arrayBuffer for sets with > 4 slots IrIndex.init is used as an empty key, it is illegal key

Members

Functions

capacity
uint capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
uint contains(IrFunction* ir, IrIndex key)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
isBig
bool isBig()
Undocumented in source. Be warned that the author may not have intended to support it.
length
uint length()
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(IrBuilder* builder, IrIndex key)
Undocumented in source. Be warned that the author may not have intended to support it.
range
IrSmallSetIterator range(IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
uint remove(IrFunction* ir, IrIndex what)

Returns number of deleted keys

replace
uint replace(IrFunction* ir, IrIndex what, IrIndex byWhat)

Returns number of replaced keys

Structs

Bucket
struct Bucket
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta