[RFC] Speeding-up the parsing of integer types

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 4 16:06:00 GMT 2003


Paolo Carlini <pcarlini@suse.de> writes:

| It seems to me that we could rather easily put inside _M_extract_int
| something like:
| 
|     __value = __value * __base + (__c - '0');

I think the idea, in general, is good.  I think you may also want to
perform various checks for overflow and all that before storing in __value.

-- Gaby



More information about the Libstdc++ mailing list