sharwell/antlr4 — Issue #10: Optimize storage of configs in the DFA
Author: sharwell
Created: 2012-02-16 20:29:00+00:00
State: open
Labels: branch:optimized, optimization, type:feature

Memory consumed by the DFA cache is dominated by the `ATNConfigSet` associated with each `DFAState`. By storing a compressed form which can be used to reconstruct the actual `ATNConfigSet` in the event of ATN failover, memory usage could improve by over 85%.