Cache logic symbols for bar text
Twintop opened this issue ยท 0 comments
Every time the bar needs to refresh the bar text, it currently does a scan to locate all logic symbols in the string to then use the indexes for variable validation and logic checking. This causes lots of unneeded CPU and memory overhead that scales with the complexity of the bar text logic.
Add caching to this layer so it only does this scan when it sees a new bar text for the first time.