Polyvariant Specialization
Static variables can change
- So, how can we treat them as constants in dynamic code?
One version of code is created per value of a static variable
Multiple values => multiple versions
Polyvariant specialization is key to our new approach