Tackling library IO performance
Nathan Myers
ncm-nospam@cantrip.org
Mon Jan 6 07:02:00 GMT 2003
On Mon, Jan 06, 2003 at 01:33:09AM -0500, Jerry Quinn wrote:
> Hi all. I've been investigating the source of slowdowns in PR 8761.
> On my machine, gcc 2.95.4 -O2 runs the testcase in about 4 seconds.
> gcc 3.3 -O2 runs it in about 25 seconds.
> ...
> I wanted to get some feedback before I crank out patches that people
> don't want, especially since the format cache had been removed once.
> Are there things I should be careful of or avoid doing in putting
> these patches together?
This is really excellent work. There's lots of room for optimization
when you know that it's the "C" locale.
One thing to watch out about... people get very testy when floating
point values come out (or in) slightly different, in the least
significant bits, from what their C library does. Maybe we're
Big Enough now to just match Glibc, and tell everybody else to like
it or lump it.
Nathan Myers
ncm@cantrip.org
More information about the Libstdc++
mailing list