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++/11723] ctype<wchar_t>::do_is(mask, wchar_t) is slow


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-04 02:29:06
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-04 02:29 -------
I can confirm this on the mainline (20030803).
It looks like it does not scale (even cache):
tin:~/src/gnu/gcctest>time ./a.out c 10000
0.060u 0.000s 0:00.07 85.7%     0+0k 0+0io 197pf+0w
tin:~/src/gnu/gcctest>time ./a.out c++ 10000
1.600u 0.000s 0:01.61 99.3%     0+0k 0+0io 197pf+0w
tin:~/src/gnu/gcctest>time ./a.out c 100000
0.570u 0.000s 0:00.57 100.0%    0+0k 0+0io 197pf+0w
tin:~/src/gnu/gcctest>time ./a.out c++ 100000
15.990u 0.000s 0:15.99 100.0%   0+0k 0+0io 197pf+0w


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