[v3] Print ints directly to streambuf
Richard Henderson
rth@redhat.com
Wed Feb 26 00:45:00 GMT 2003
On Tue, Feb 25, 2003 at 04:26:12PM -0800, Nathan Myers wrote:
> I wonder how often this is faster. Probably we can identify targets
> where it is, and add a flag in config.h. (In practice, most numbers
> are small, although maybe not most hex-formatted numbers.)
Dunno. Definitely faster on i386, ia64, ppc, arm, alphaev67.
For others we get out-of-line code; dunno how much slower that
might be. We could perhaps re-instate some ifdeffing such
that the out of line code did a binary search for the correct
value (I'd removed that as hairy to get right).
r~
More information about the Libstdc++
mailing list