Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 892 Bytes

Monomorphization.md

File metadata and controls

16 lines (12 loc) · 892 Bytes
layout toc_group link_title permalink
docs
truffle
Monomorphization
/graalvm-as-a-platform/language-implementation-framework/splitting/Monomorphization/

Monomorphization

Truffle has an automatic approach to monomorphization (also known as "splitting"). For more information about the benefits of monomorphization, continue reading to Monomorphization Use Cases.

It is controlled by the Splitting engine option and is on by default. Adding --engine.Splitting=false to your command line will disable it.

The heuristic relies on information from the language implementation to guide the decisions. To find out more about how to use the new approach in your language implementation, refer to the Reporting Polymorphism guide.

For more details on how the new approach works, see the Splitting guide.