2 ms·
The math functions are statically inlined for performance. Wrapping them in another level of function/var will have a significant impact on performance even if
by puredanger 8y ago
The math functions are statically inlined for performance. Wrapping them in another level of function/var will have a significant impact on performance even if assertions for preconditions are turned off.
Spec assertions (not pre/post checks) can actually be compiled completely out of production code so those can really be nothing (but not if you're adding them in wrapper layers).