Comment on Destroying C with 20 lines of Haskell: wcparentComments−jstimpfle6yDo 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.−sauerbraten6yisspace is defined as a macro at the top of the file, and it's definitely not locale sensitive ;)
Comments
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.
isspace is defined as a macro at the top of the file, and it's definitely not locale sensitive ;)