4 ms·
> the speed difference is pretty much negligible really? I'd say that's quite significant, if it's repeatable.
by vmchale 8y ago
> the speed difference is pretty much negligible
really? I'd say that's quite significant, if it's repeatable.
- ColinWright 8y agoThe change from 1.6ms to 1.4ms is small compared with the difference I was seeing in the code I was using that calls sqrt. There the change was about 50% to 80%. But in effect it's an algorithm change, so it's not surprising, and it would be interesting to see how it changes as the numbers involved get bigger. That's not why I was doing it in this case, but it is intriguing.