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: [Patch] Fix libstdc++/13341 (speed-up <wchar_t>::do_narrow/widen)


Jerry Quinn wrote:

Why not cache all 256 widen chars rather than just 128? We already
know all the source possibilities, unlike in do_narrow().

Good point. However, I think we want to keep those table as small as possible. Also, there are some trickeries with char signedness (eh!;)

Let's test a bit a baseline version, then possibly return to the
issue later...

Paolo.


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