[v3] Speed-up ctype::do_is(mask, wchar_t) in the common case

Paolo Carlini carlinip@tiscali.it
Mon Jul 18 17:39:00 GMT 2005


Hi,

the below is what I'm going to commit after further testing for this
performance issue, explained on the libstdc++-v3 mailing list. Wrt the
preliminary patch posted there I'm also improving the treatment of the
other elementary masks, besides ctype_base::space.

Tested x86-linux.

Paolo.

//////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_do_is_2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050718/d66a6c8a/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_do_is_2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050718/d66a6c8a/attachment-0001.ksh>


More information about the Gcc-patches mailing list