Std.Set.insertAll
1 declaration
fn
insertAll: &Set[T] -> &Array[T] -> Set[T]This is a callable function.
What it does
Every given member added.
One merge of two ordered runs rather than one insertion per member, which is
the difference between walking the set once and walking it for each item.
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.
