3 ms·
Why is strtod so slow. Lots of special cases? Or hard to change since hidden away.
by ape4 6y ago
Why is strtod so slow. Lots of special cases? Or hard to change since hidden away.
- jeffbee 6y agostrtod handles decimal and hexadecimal strings, trailing junk, whatever else the locale allows, etc. It's pretty branchy when you think about it.