Hacker News new | past | comments | ask | show | jobs | submit login

There is nothing about the design of strtol that makes it particularly fast. If anything, the extra checks and accesses to errno (which on modern systems is generally an implicit function call) that are required to use strtol correctly represent unnecessary overhead, though only a trivial amount of it. But mostly it’s just an awkward API design.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: