Exponential compilation time for List.of(Map.entry) expressions
Dawid Weiss
dawid.weiss at gmail.com
Tue Jan 21 12:38:09 UTC 2025
> This is a performance problem for IntelliJ as well. Highlighting becomes slow on such code. Not sure whether it's slower or faster than javac, but it's definitely slow. So technically, it's 'javac + IntelliJ quirks' :-)
I can add ecj to this: "javac" + "intellij" + "Eclipse ecj" quirks
because I've tried out of curiosity and ecj also grinds to a halt on
this pattern.
Oh well, thanks for the interesting discussion. I've learnt something new.
Dawid
More information about the compiler-dev
mailing list