Std.FlatMap.insert
1 declaration
fn
insert: &Std.FlatMap.FlatMap[V] -> UInt64 -> V -> Std.FlatMap.FlatMap[V]This is a callable function.
What it does
Inserts or replaces a key-value pairing in the table.
If the addition causes the load factor to exceed 75%, the table automatically
doubles in capacity and rehashes all active entries.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
- Names inside [ ] are type arguments, such as the item type held by a collection.
