Patch scala.math to be inline #17931
bishabosha
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Performance sensitive code should not use the scala.math package object because it is not inlined by the jvm - however we could follow the pattern of stdLibPatches package and replace scala.math by an object of purely inline methods - so the java.lang.Math methods are directly called.
Beta Was this translation helpful? Give feedback.
All reactions