From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23092 invoked by alias); 27 Jan 2005 16:57:11 -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 22321 invoked by uid 48); 27 Jan 2005 16:56:20 -0000 Date: Thu, 27 Jan 2005 16:57:00 -0000 Message-ID: <20050127165620.22320.qmail@sourceware.org> From: "pcarlini at suse dot de" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050126142651.19642.joerg.richter@pdv-fs.de> References: <20050126142651.19642.joerg.richter@pdv-fs.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/19642] streaming doubles is very slow compared to sprintf X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg04061.txt.bz2 List-Id: ------- Additional Comments From pcarlini at suse dot de 2005-01-27 16:56 ------- > There's known problems with setlocale not being "stable" on AIX. Thanks for the pointer. I can find only some rather vague hints, around, however... "(un)stable"?!? Or 'just' plain slow?!? ;) ;) > You're right, the correct long term fix is something like Jerry's work in > 17140. Beyond doubt. Avoiding completely *any* sort of setlocale/uselocale would fix those issues completely. However, short and mid-term, the latest attached patch (*_3) does a good job and seems safe (already checked on glibc (generic) + FreeBSD + Solaris). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19642