4 ms·
You also get the slow version if you include <cctype> instead of <ctype.h>. https://godbolt.org/z/cbeGc4 https://godbolt.org/z/cbeGc4
by thestoicattack 7y ago
You also get the slow version if you include <cctype> instead of <ctype.h>.
https://godbolt.org/z/cbeGc4 https://godbolt.org/z/cbeGc4
- BeeOnRope 7y agoYes, I saw that too and mention it: > As a corollary, if you include <cctype> rather than <ctype.h> (the C++ version of the C header which puts functions in the std:: namespace) you also get the slow behavior because <cctype> ultimately includes <bits/os_defines.h>.
- thestoicattack 7y agoOh, so you do!