2 ms·
Do you get a speed-up if you use getc_unlocked() instead of getc()? And if you write your own isspace()? As far as I know, isspace() is locale sensitive.
by jstimpfle 7y ago
Do you get a speed-up if you use getc_unlocked() instead of getc()? And if you write your own isspace()? As far as I know, isspace() is locale sensitive.
- sauerbraten 7y agoisspace is defined as a macro at the top of the file, and it's definitely not locale sensitive ;)