4 ms·
Static types avoid the cost of runtime type checks and dynamic dispatch.
by cygx 7y ago
Static types avoid the cost of runtime type checks and dynamic dispatch.
- naasking 7y agoAlso they permit more inlining opportunities, allow eliminating more dead code, and more. Types almost always improve program performance.