github.com/mitranim/gord (go): Simple ordered sets. Several implementations are available:  • `LinkedSet`: ordered set with near-constant-time (O(1)) performance for inserting, deleting, and moving elements. Backed by a map and a doubly-linked list.  • `SyncLinkedSet`: concurrency-safe `LinkedSet`, slightly slower.  • `SliceSet`: slice-backed ordered set. Simpler and faster for small sets, extreme performance degradation for large sets.  Simply import:  See the example below for `OrdSet` / `NewOrdSet`.
Keywords: golang|ordered-set