Potential performance regression when deriving large case classess #15834
Labels
area:typeclass-derivation
itype:performance
stat:needs minimization
Needs a self contained minimization
Based on failure in Open Community Build #2826 in library https://github.com/sirthias/borer
Scala 3.1.3 builds were stable when compiling derivation tests using -Xss=2m, however, in Scala 3.2.0-RCx they end up with StackOverflowError in the staging phase, even with increased -Xss=4m
Compiler version
3.2.0-RC3
Minimized code
No code minimization yet, based on my observations project might fail with StackOverflowError when deriving encoder here for case class using 100 fields.
Output
Stacktrace (click arrow to expand)
Expectation
It should be checked whether new versions of compiler does not imply significantly larger memory usage
The text was updated successfully, but these errors were encountered: