You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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