Twm.Context.ModifierSortingContext (Twm v0.1.0)
View SourceContext structure for modifier sorting operations.
This struct holds the configuration data needed for modifier sorting operations, replacing the anonymous functions that were causing memory pressure by capturing configuration data in their closures.
Used by the SortModifiers module to efficiently sort modifiers while preserving the order of order-sensitive modifiers and arbitrary variants.
Summary
Types
@type t() :: %Twm.Context.ModifierSortingContext{ order_sensitive_modifiers_set: MapSet.t() }