Performance dropped significantly when switching from Nested Patterns to Flattened Patterns (was "Sharing my experience with Switch Expressions")
David Alayachew
davidalayachew at gmail.com
Thu Jun 12 19:55:50 UTC 2025
Woah, something new came up.
On a whim, I tried to run the performance numbers, to see if there were any
performance differences between the nested pattern style and the flattened
pattern style, and there was!
The nested pattern style finished in under 30-60 seconds. But the flattened
pattern style took OVER AN HOUR.
I just wanted to bring this up, in case this is a bug, or maybe it's
expected behaviour. Please let me know!
On Fri, May 23, 2025 at 7:10 AM David Alayachew <davidalayachew at gmail.com>
wrote:
> Please let me know if there are any details missing, or if I could better
> explain the situation.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20250612/a4f68049/attachment-0001.htm>
More information about the amber-dev
mailing list