[v3] pr 8761 and 7076, caching bits

Benjamin Kosnik bkoz@redhat.com
Sat Feb 15 17:15:00 GMT 2003


>Jerry, this looks great. I'll put it in later today. Thanks!

Ok, so I was optimistic. With some small changes (attached), mainline is
consistently faster than 2.96.

%rm foo.txt ; time gcc-2.96.exe
10.130u 0.730s 0:11.70 92.8%    0+0k 0+0io 135pf+0w

%rm foo.txt ; time 20030215-round-4.exe
8.920u 0.610s 0:18.14 52.5%     0+0k 0+0io 108pf+0w

Some questions remain.

Also, the thought of putting this in as a non-virtualized layer of the
locale class itself bears investigation. That approach might fit into
the confines of the 3.2 ABI. That or a second patch are things I'd like
to look into.

best,
benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20030215
Type: application/octet-stream
Size: 17603 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030215/b8471ee1/attachment.obj>


More information about the Libstdc++ mailing list