pub fn put(self: *Self, key: Key, value: Value) void
Adds the key to the map with the supplied value. If the key is already in the map, overwrites the value.
self: *Self
key: Key
value: Value
560 561 562 563 564
pub fn put(self: *Self, key: Key, value: Value) void { const index = Indexer.indexOf(key); self.bits.set(index); self.values[index] = value; }
Adds the key to the map with the supplied value. If the key is already in the map, overwrites the value.