2 ms·
I saw someone point out that these identifier restrictions mean that a valid C compiler optimization would be to change all instances of "x = to[a-z]+(y);" to "
by pcwalton 4y ago
I saw someone point out that these identifier restrictions mean that a valid C compiler optimization would be to change all instances of "x = to[a-z]+(y);" to "if (!is[a-z]+(y)) x = to[a-z]+(y);" Not that any compiler would actually be absurd enough to implement this, of course :)
Naturally, this would imply the validity of the optimization:
x = toilet(y); -> if (!isilet(y)) x = toilet(y);
- caf 4y agoOnly if you've included <ctype.h> or <wctype.h> though.