unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Speedup of display of long and truncated lines
Date: Sat, 13 Aug 2022 17:10:44 +0300	[thread overview]
Message-ID: <83edxkmdy3.fsf@gnu.org> (raw)

I've installed a few changes intended to speed up redisplay of buffers
with long lines when lines are truncated.  This is WIP.  With the
changes I installed, navigation via C-f/C-b should be much faster, and
likewise C-e and C-a (although C-a still has one problem I see that
needs to be fixed).  Vertical cursor motion commands (C-n/C-p) are
still slow and need to be sped up; that's on my TODO.

I didn't yet look at C-v/M-v, mainly because I don't have examples of
files with long lines that have enough long lines to justify movement
by window-full.  (I could, of course, produce such files myself, but
the question is: do such files exist in Real Life, enough to make the
scrolling commands important in these cases?  Examples of such files,
if they exist, are welcome.)

I'm sure these changes break some use cases, or even cause crashes.
Reports of such issues are therefore welcome, as are examples of files
with long lines which exhibit slow redisplay after these changes
(under line-truncation).

Thanks in advance, and happy hacking!



             reply	other threads:[~2022-08-13 14:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-13 14:10 Eli Zaretskii [this message]
2022-08-13 14:28 ` Speedup of display of long and truncated lines 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
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=83edxkmdy3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.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).