This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix libstdc++/13341 (speed-up <wchar_t>::do_narrow/widen)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Jerry Quinn <jlquinn at optonline dot net>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 12 Dec 2003 09:20:57 +0100
- Subject: Re: [Patch] Fix libstdc++/13341 (speed-up <wchar_t>::do_narrow/widen)
- References: <3FD89A30.50103@suse.de> <16345.15720.500957.230044@gargle.gargle.HOWL>
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.