HashMap.getOrAdd

get value from hash or add if key is not in table. defaultValue can be callable. Returns: ref to value (maybe added)

struct HashMap(K, V, Allocator = Mallocator, bool GCRangesAllowed = true)
V
getOrAdd
(
K
T
)