GNU bug report logs - #55729
27.1; Emacs 28.1 `string-match' is five times slower than Emacs 27.1

Previous Next

Package: emacs;

Reported by: Chen Bin <chenbin.sh <at> gmail.com>

Date: Mon, 30 May 2022 14:47:01 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 55729 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: larsi <at> gnus.org, chenbin.sh <at> gmail.com
Cc: 55729 <at> debbugs.gnu.org
Subject: Re: bug#55729: 27.1;
 Emacs 28.1 `string-match' is five times slower than Emacs 27.1
Date: Mon, 30 May 2022 19:03:28 +0300
> Cc: chenbin.sh <at> gmail.com, 55729 <at> debbugs.gnu.org
> Date: Mon, 30 May 2022 18:58:17 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > I tried your test, and the results were within a few percentages of each
> > other in 27.1 and 28.1.
> 
> With a 3GB file being inserted non-literally, there could be factors
> at work here that are entirely unrelated to processing speed.  The
> implementation of string-match basically didn't change between Emacs
> 27 and Emacs 28, AFAICT.

Here's one random thought: were both Emacs 27 and Emacs 28 compiled
with the same compiler version, and do they both use the same version
of the Standard C Library?




This bug report was last modified 3 years and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.