public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/93584] std::string::find_first_not_of is about 9X slower than strspn
       [not found] <bug-93584-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-24 17:32 ` hiraditya at msn dot com
  0 siblings, 0 replies; only message in thread
From: hiraditya at msn dot com @ 2020-03-24 17:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93584

AK <hiraditya at msn dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hiraditya at msn dot com

--- Comment #3 from AK <hiraditya at msn dot com> ---
Could it be because string::find_first_not_of is not as optimized as
string::find?

https://github.com/gcc-mirror/gcc/commit/cb627cdf5c0761f9e1be587a1416db9446a4801b

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-24 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93584-4@http.gcc.gnu.org/bugzilla/>
2020-03-24 17:32 ` [Bug libstdc++/93584] std::string::find_first_not_of is about 9X slower than strspn hiraditya at msn dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).