Home /Modules/collections/SLSet.md

SLSet.md

lib/collections/SLSet.md · 28 line(s) · markdown

SLSet

SLSet is a concrete, string-valued set (no duplicate members) in the SLeeLa collections library, backed by the VM-managed growable native array. It requires no Generics and no new VM opcodes.

Membership and insertion are linear scans, which suits small-to-moderate sets; iteration order is insertion order.

Operations

This first version accepts Strings only.

Example

See SLSetBasic.