Hacker News new | ask | show | jobs
by TheSoftwareGuy 2601 days 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