This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Print ints directly to streambuf
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~