KotlinGrammarAntlrKotlinParser very slow for files with json-strings
Closed this issue · 4 comments
fab1an commented
Creating a file like this:
package testpackage.
val LARGE_JSON = """
<very large json with 77000 lines>
"""
Running
val source = AstSource.String("", stringSource)
val kotlinFile = KotlinGrammarAntlrKotlinParser.parseKotlinFile(source)
takes very long on a file like this. If I replace the JSON in the string with base64, it will be much faster.
Does the grammar somehow inspect the braces inside the templating?
fab1an commented
Any news on this?
drieks commented