This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11723] ctype<wchar_t>::do_is(mask, wchar_t) is slow
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2003 02:29:06 -0000
- Subject: [Bug libstdc++/11723] ctype<wchar_t>::do_is(mask, wchar_t) is slow
- References: <20030730091541.11723.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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