3 ms·
Before that specialization, sqrt calls were hilariously slow - so even calling it sparingly could significantly impact performance. Basically the flow was: -
by pizlonator 6mo ago
Before that specialization, sqrt calls were hilariously slow - so even calling it sparingly could significantly impact performance.
Basically the flow was:
- check if we’re calling a method of an object
- nope, ok, so cascade through 10+ symbol comparisons
- sqrt was towards the bottom of the cascade