[Patch] Fix libstdc++/13341 (speed-up <wchar_t>::do_narrow/widen)

Paolo Carlini pcarlini@suse.de
Fri Dec 12 08:19:00 GMT 2003


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.



More information about the Libstdc++ mailing list