Remove this cache, it is essentially a memory leak

This commit is contained in:
Anthony Sottile
2020-03-15 18:09:12 -07:00
parent 41543f8d6c
commit 31e7c9345b

View File

@@ -699,7 +699,6 @@ class Grammars:
return self._compiler_for_grammar(grammar)
@functools.lru_cache(maxsize=None)
def highlight_line(
compiler: 'Compiler',
state: State,