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

joerg dot richter at pdv-fs dot de gcc-bugzilla@gcc.gnu.org
Thu Jan 27 12:54:00 GMT 2005


------- Additional Comments From joerg dot richter at pdv-fs dot de  2005-01-27 12:54 -------
I think this runtimes of the different setlocale() calls might be interesting:

(This is for 1000000 calls)

 category   locale  time
 LC_ALL        0    0.70s
 LC_NUMERIC    0    0.29s
 LC_ALL       "C"   1.63s
 LC_NUMERIC   "C"   8.98s


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19642



More information about the Gcc-bugs mailing list