All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Monomorphisation?

Definition 8.4 University Computer Science — Year 2 · Chapter 8 — Traits and Generics

Monomorphisation is the compilation of a generic function into one machine-code copy for each combination of type arguments with which the program uses it, each copy compiled and optimised as if it had been written for those types.

Read in context →