From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, 57245@debbugs.gnu.org
Subject: bug#57245: 29.0.50; M-> in a large XML file (without long lines) is slow
Date: Wed, 17 Aug 2022 01:20:38 +0300 [thread overview]
Message-ID: <4e2838b5-109e-7a27-0230-29dc6624b751@yandex.ru> (raw)
In-Reply-To: <jwvtu6b50ex.fsf-monnier+emacs@gnu.org>
On 17.08.2022 00:45, Stefan Monnier via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
>> The font-lock narrowing (if it's indeed the method we're going to use to
>> speed up its performance) shouldn't be conditioned on the presence of
>> long lines.
> font-lock does suffer from long lines
Perhaps with when some specific rules are used? Like MATCH-ANCHORED, one
instance of which I deleted from js-mode a few days ago.
Otherwise, syntax-wholeline-max seems to be doing its job fine: if I
comment out the narrowing code in handle_fontified_prop (or switch to
the branch I posted previously), two XML files -- one with long lines
and one without (the files differ only by addition of newlines) -- show
approximately the same delay on M->.
next prev parent reply other threads:[~2022-08-16 22:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 14:33 bug#57245: 29.0.50; M-> in a large XML file (without long lines) is slow Dmitry Gutov
2022-08-16 16:54 ` Eli Zaretskii
2022-08-16 18:40 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-16 18:59 ` Eli Zaretskii
2022-08-16 19:32 ` Dmitry Gutov
2022-08-16 20:22 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-16 20:49 ` Dmitry Gutov
2022-08-16 21:45 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-16 22:20 ` Dmitry Gutov [this message]
2022-08-17 11:36 ` Eli Zaretskii
2022-08-17 11:46 ` Dmitry Gutov
2022-08-17 12:16 ` Eli Zaretskii
2022-08-17 12:30 ` Dmitry Gutov
2022-08-17 12:33 ` Eli Zaretskii
2022-08-17 12:46 ` Dmitry Gutov
2022-08-17 11:24 ` Eli Zaretskii
2022-08-17 12:14 ` Dmitry Gutov
2022-08-17 12:20 ` Eli Zaretskii
2022-08-17 12:40 ` Dmitry Gutov
2022-08-17 13:20 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=4e2838b5-109e-7a27-0230-29dc6624b751@yandex.ru \
--to=dgutov@yandex.ru \
--cc=57245@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.