From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17109 invoked by alias); 26 Apr 2005 08:45:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16727 invoked by uid 48); 26 Apr 2005 08:45:22 -0000 Date: Tue, 26 Apr 2005 08:45:00 -0000 Message-ID: <20050426084522.16660.qmail@sourceware.org> From: "pcarlini at suse dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050424165745.21193.TazForEver@dlfp.org> References: <20050424165745.21193.TazForEver@dlfp.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/21193] provide better std::tr1::hash for std::string and std::wstring X-Bugzilla-Reason: CC X-SW-Source: 2005-04/txt/msg03692.txt.bz2 List-Id: ------- Additional Comments From pcarlini at suse dot de 2005-04-26 08:45 ------- Hi, and thanks for your report. Actually, as you may have noticed, we are aware that the current function is not optimal in any sense... Now, if we want to improve it now, maybe we should carry out a minimum of bibliographic research. Also, maybe we should also change consistently collate<_CharT>::do_hash (in locale_facets.tcc) which is also not perfect, but at least doesn't depend on the size of size_t. I consider the latter a rather serious issue, given the range of targets supported by GCC. What do you think? -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21193