public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "amonakov at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug stdio/17577] sscanf extremely slow on large strings
Date: Mon, 15 Mar 2021 21:56:46 +0000	[thread overview]
Message-ID: <bug-17577-131-G7UajzBPuA@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17577-131@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=17577

--- Comment #5 from Alexander Monakov <amonakov at gmail dot com> ---
That is a difference in constant factor, on 64-bit it uses AVX2 rawmemchr
(selected by ifunc), but on 32-bit sscanf invokes basic ia32 rawmemchr
implementation directly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      parent reply	other threads:[~2021-03-15 21:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 13:49 [Bug stdio/17577] New: " shabbyx at gmail dot com
2014-11-11 13:50 ` [Bug stdio/17577] " shabbyx at gmail dot com
2021-03-01 12:56 ` marat at slonopotamus dot org
2021-03-02 12:46 ` amonakov at gmail dot com
2021-03-03  2:22 ` benfrantzdale at gmail dot com
2021-03-03  2:26 ` benfrantzdale at gmail dot com
2021-03-03  3:35 ` fweimer at redhat dot com
2021-03-03 19:31 ` bugdal at aerifal dot cx
2021-03-15 20:38 ` dkk089 at gmail dot com
2021-03-15 21:56 ` amonakov at gmail dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17577-131-G7UajzBPuA@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).