[RFC/PATCH]: transform builtin isdigit (okay with locales?)
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Apr 12 15:32:00 GMT 2004
> From: Dale Johannesen <dalej@apple.com>
>
> No. Locales do not affect the '0' character. In fact, there is an
> explicit footnote (#187 in c99) in the locale section saying that
> isdigit is not affected by locales.
Great thanks for pointing that out, I see that now in my draft
version.
>
> Which does not mean it is a good idea; that's another discussion.
As I explained in a previous message, if isdigit is defined to a macro
doing a table lookup, my patch doesn't interfere with that.
I'll post a revised patch with timings after a testing cycle so we can
see the speed effects.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list