unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: gregory@heytings.org, emacs-devel@gnu.org
Subject: Re: Speedup of display of long and truncated lines
Date: Tue, 11 Oct 2022 13:38:01 +0300	[thread overview]
Message-ID: <8335bufxx2.fsf@gnu.org> (raw)
In-Reply-To: <cd331c3d-ab95-3f86-9a96-b194a6e9d507@yandex.ru> (message from Dmitry Gutov on Sun, 21 Aug 2022 14:22:15 +0300)

> Date: Sun, 21 Aug 2022 14:22:15 +0300
> Cc: emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> > sql-mode
> 
> FWIW, my brief testing seems to show sql-mode's font-lock has similar 
> performance to js-json-mode. Maybe like 1.5x slower in syntax-ppss (due 
> to syntax-propertize-function being present), but that's it.
> 
> Tested with font-lock without narrowing, of course.

I think I'm done with this task now.  I installed today two changes in
the scrolling commands and in the display code that make C-v/M-v
significantly faster when lines are very long and truncated on
display.

So, barring crashes and other bugs, I think this issue can be closed.
But if you find situations where Emacs is unbearably sluggish with
long and truncated lines, please report that as bugs, so that they
could be fixed.



  reply	other threads:[~2022-10-11 10:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-13 14:10 Speedup of display of long and truncated lines Eli Zaretskii
2022-08-13 14:28 ` Stefan Monnier
2022-08-13 15:10   ` Eli Zaretskii
2022-08-13 15:34 ` Gregory Heytings
2022-08-13 15:36   ` Eli Zaretskii
2022-08-13 15:52     ` Gregory Heytings
2022-08-19  6:49       ` Eli Zaretskii
2022-08-20 16:22         ` Gregory Heytings
2022-08-21 11:22           ` Dmitry Gutov
2022-10-11 10:38             ` Eli Zaretskii [this message]
2022-08-14 13:42 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8335bufxx2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=gregory@heytings.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).