Scala Native
License
Scala Native is distributed under the Scala license. See LICENSE.md for details
We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upThis change adds support for polymorphic inlining based on static target prediction. Virtual call is replaced with a sequence of instance checks that go to a statically resolved method call instead of fully virtual table lookup. Polymorphic inlining is applied whenever a virtual call has no more than 4 possible concrete implementations and no more than 16 implementing classes. Polymorphic inlining is enabled in release mode only.
Scala Native is distributed under the Scala license. See LICENSE.md for details