sharwell/antlr4 — Issue #11: Optimize storage of the PredictionContext cache
Author: sharwell
Created: 2012-02-16 20:34:57+00:00
State: open
Labels: branch:optimized, optimization, prio:normal, status:new, type:feature

The `PredictionContext` cache stores objects in a `HashMap` which does not use memory efficiently. A B-tree `Set` implementation would reduce the cache overhead by 90%.