SCollectionT
SCollectionT is a generic container type used to represent a sequential collection of elements of type T. It is designed to be storage-policy agnostic, allowing the underlying storage to be chosen at construction time or via specialization. The primary goal is to provide a uniform interface for common sequence operations across different storage implementations, enabling generic algorithms to operate on any SCollectionT instance.
Design and features: SCollectionT is parameterized by T and an optional StoragePolicy. It offers a compact
Performance and behavior: Complexity depends on the chosen storage policy. Array-backed configurations typically offer amortized O(1)
Interoperability and use cases: SCollectionT is designed to interoperate with generic algorithms and can be serialized
History and variants: The concept of storage-parameterized template collections has appeared in several language ecosystems; SCollectionT