Operations on vector<T> — the primary ordered collection type. Vectors are grown by appending with += and elements are accessed by index. A vector or struct passed to a function is passed by reference: the callee's appends and element writes reach the caller. Binding one to a new local (`w = v`) copies it.
pub fn len(self: const vector) -> integer
Number of elements in the vector. Use in loop bounds: for i in 0..v.len().
pub fn size(self: const hash) -> integer
The byte footprint of a hash: its full bucket table, holes included. The table is the hash's own allocation — elms slots (an empty slot is a hole and still counts, because open addressing's spare capacity IS the format). A slot is 8 bytes; a hash that owns its records keeps each in its slot too, so a slot then costs 8 bytes plus the record. Records kept in separate allocations are not counted. Grows in steps as the table rehashes (it is rebuilt at half full). 0 for an empty (unallocated) hash.