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
You are treated to not one but two no-ops in the bytecode. First we have to load Predef, because maybe Predef hasn't been loaded yet. Then we have to load the RichInt companion object, because maybe that hasn't been loaded either. And if we mark max @inline, it won't make any difference.
@magarciaEPFL said:
Somewhat complementary, the @reallyStatic annotation (provisional name) appears more widely applicable (top level objects, value classes) and its prototype works fine for Mode, and other classes in the compiler.
Compile this under -optimise:
You are treated to not one but two no-ops in the bytecode. First we have to load Predef, because maybe Predef hasn't been loaded yet. Then we have to load the RichInt companion object, because maybe that hasn't been loaded either. And if we mark max @inline, it won't make any difference.
Pull request to follow.
The text was updated successfully, but these errors were encountered: