wcstol(3) family get 400% slower than before Issue #64 fixes.

Issue #65 closed
Takehiko NOZAKI repo owner created an issue

Issue #64, i merged strtou?l/wcstou?l implementation by strtol_template.h. but this change spoil performance of wcs* function.

strtol_template.h using isw?digit/isw?alpha/tow?upper to convert from digit character to int. but it is too expensive(single-byte version has inline macro, but widechar version hasn't).

old implementation uses __wctoint() function that using switch-case table and good performance. so i'll use it.

Comments (2)

  1. Log in to comment