ListListA
ListListA is a parametric data structure designed to hold a collection of lists, where each inner list stores elements of the same type. It forms a two-level container in which the top-level structure indexes a sequence of buckets, and each bucket contains a contiguous sequence of elements. The design aims to balance dynamic resizing with locality and scalable iteration in scenarios where large or unevenly sized collections must be processed.
Internally, ListListA consists of a list of inner lists. The inner lists may be implemented as dynamic
Key operations include flattening, which concatenates all inner lists into a single sequence; map and reduce,
Variants commonly exist, such as fixed-size buckets to improve locality or dynamic buckets that resize and
Applications include processing large block datasets, in-memory data structures with variable-length records, and cache-friendly iteration in