This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/19642] streaming doubles is very slow compared to sprintf


------- 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


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