3 ms·
The compiler can choose which implementation to generate based on the actual expected performance gain in the happy case, the performance loss in the not happy
by TheSoftwareGuy 7y ago
The compiler can choose which implementation to generate based on the actual expected performance gain in the happy case, the performance loss in the not happy case and use the probability to decide whether its actually worth the trade off