Exponential compilation time for List.of(Map.entry) expressions
Tagir Valeev
amaembo at gmail.com
Fri Jan 17 10:57:20 UTC 2025
Hello!
On Fri, Jan 17, 2025, 11:13 Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:
>
> Question: is intellij able to figure out the correct types w/o ending up
> with combinatorial explosion -- or is it using some heuristic to "guess"
> what the likely type arguments are going to be?
>
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' :-)
> Maurizio
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20250117/01da46e0/attachment.htm>
More information about the compiler-dev
mailing list