unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Monaco <andrea.monaco@autistici.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [PATCH] Make rmail-summary-by-thread faster
Date: Sun, 18 Dec 2022 12:25:00 +0200	[thread overview]
Message-ID: <83r0wxf1qb.fsf@gnu.org> (raw)
In-Reply-To: <87a63wnx8h.fsf@autistici.org> (message from Andrea Monaco on Fri, 09 Dec 2022 21:22:22 +0100)

> From: Andrea Monaco <andrea.monaco@autistici.org>
> Cc: rms@gnu.org, emacs-devel@gnu.org
> Date: Fri, 09 Dec 2022 21:22:22 +0100
> 
> 
> I found the first implementation of rmail-summary-by-thread a bit slow.
> There's an optimization that escaped me at first: generate another
> vector called rmail-summary-message-descendants-vector that holds the
> direct descendants of each message, that is the symmetric relation to
> rmail-summary-message-parents-vector.  Now it is much faster.

Thanks, I installed this on the emacs-29 branch.

P.S. You consistently post patches without commit log messages, which
requires me to add the log when installing the changes.  Please make a
habit of accompanying the patches with the appropriate commit log
messages, formatted according to our conventions, as described in the
file CONTRIBUTE that you can find in the Emacs source tree.  TIA.



      reply	other threads:[~2022-12-18 10:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05 21:57 [PATCH] Summary by thread in rmail Andrea Monaco
2022-10-06  6:02 ` Eli Zaretskii
2022-10-06  7:21   ` Andrea Monaco
2022-10-06  7:29     ` tomas
2022-10-06 19:19       ` Emanuel Berg
2022-10-06 10:20     ` Eli Zaretskii
2022-10-06 10:55       ` Andrea Monaco
2022-10-06 14:18         ` Eli Zaretskii
2022-10-06 19:23         ` Emanuel Berg
2022-10-06 19:25         ` Emanuel Berg
2022-10-10  7:15 ` Eli Zaretskii
2022-11-15 19:07   ` [PATCH] Add command rmail-summary-by-thread (was: Summary by thread in rmail) Andrea Monaco
2022-11-17  4:34     ` Richard Stallman
2022-11-17 13:54     ` Eli Zaretskii
2022-12-09 20:22       ` [PATCH] Make rmail-summary-by-thread faster Andrea Monaco
2022-12-18 10:25         ` Eli Zaretskii [this message]

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=83r0wxf1qb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=andrea.monaco@autistici.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).