Accumulates eager batch outputs in source enumeration order.
Exact binary identity and computed skeleton keys have separate indexes. Individual results are retained unchanged.
Summary
Types
@type state() :: %{ results_rev: [UnicodeSecurity.BatchItem.t()], by_input: %{optional(binary()) => [non_neg_integer()]}, input_order_rev: [binary()], by_key: %{optional(binary()) => map()}, key_order_rev: [binary()] }
Functions
@spec add(state(), UnicodeSecurity.BatchItem.t()) :: state()
Adds one indexed item without changing its result.
@spec new() :: state()
Creates empty ordered grouping state.