[ 
https://issues.apache.org/jira/browse/FLINK-41464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-41464:
-----------------------------------
    Labels: pull-request-available  (was: )

> JavaCodeSplitter is slow for large generated code
> -------------------------------------------------
>
>                 Key: FLINK-41464
>                 URL: https://issues.apache.org/jira/browse/FLINK-41464
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Runtime
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>              Labels: pull-request-available
>
> The Java code splitter rewrites generated code with ANTLR's 
> TokenStreamRewriter. Each getText call reprocesses all recorded edits, and 
> that processing is quadratic in the number of edits. Large generated classes 
> produce many edits, one per field reference for example, and getText is 
> called many times.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to