He-Pin commented on PR #1666: URL: https://github.com/apache/pekko/pull/1666#issuecomment-2571285174
And I think there is a limitation of the current Scala implementation, were we can't save the `value` into a slot to avoid double `get`, the value is on the stack, which is very cheap,but we can't do it with current scala. https://contributors.scala-lang.org/t/inline-convertion-in-pattern-matchings-if-guard/6962/12 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org