This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Draft patch for libstdc++/20914


Paolo Carlini wrote:

>..................................................... The performance
>should not be measurably affected but the code becomes a little more
>ugly, suggestions for cleaning it up (within the current ABI, of course)
>are of course welcome.
>
Ok, now I know how to do this much better (at least for integers): I
have to factor out from __int_to_char the code that prepends the various
0x, 0X, -, +, etc., and have it only computing the actual digits. Then,
if necessary, doing the grouping on the latter, then, finish up the
result by prepending 0x, 0X, -, +, etc.

In a few days... ;)

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]