unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* v2 lazy body insertion
@ 2022-06-21 11:59 David Bremner
  2022-06-21 11:59 ` [RFC PATCH v2 1/2] perf-test/emacs: test showing longish threads David Bremner
  2022-06-21 11:59 ` [RFC PATCH v2 2/2] emacs/show: optionally insert bodies lazily David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: David Bremner @ 2022-06-21 11:59 UTC (permalink / raw)
  To: notmuch

This obsoletes the series at [1]. Compared to that series, this does
not introduce an extra layer of buttons, but just toggles more parts
closed.  It still seems to be a similar (maybe even better, which is
suprising) performance improvement.  While doing this revision I
realized that notmuch-show-max-text-part-size can play a similar
role. There are some details to check there, in particular the setting
of 0 to disable is unfortunate.

In some sense the heuristic of only (fully) displaying shallow
messages is backwards. Most likely the thing user wants to read are
things near the leaves of the discussion tree. That will require
either extending the notmuch-show CLI output (boo!) or a second
recursive traversal of every message in emacs. I'll have to see if the
latter is a performance problem.

This revision also adds a few more performance tests, to avoid
overfitting to the display of one thread.

[1]: id:20220605170851.1595387-1-david@tethera.net


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-21 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 11:59 v2 lazy body insertion David Bremner
2022-06-21 11:59 ` [RFC PATCH v2 1/2] perf-test/emacs: test showing longish threads David Bremner
2022-06-21 11:59 ` [RFC PATCH v2 2/2] emacs/show: optionally insert bodies lazily David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.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).