unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eval EXEC <execvy@gmail.com>
To: emacs-devel@gnu.org
Subject: Proposal to Improve Performance of `info-apropos` Command in GNU Emacs
Date: Tue, 03 Oct 2023 19:32:01 +0800	[thread overview]
Message-ID: <87y1gkhr5k.fsf@gmail.com> (raw)


Hello,

I would like to propose an idea to enhance the performance of the `info-apropos` command in GNU Emacs. Currently, I have observed that `info-apropos` performs searches sequentially, scanning through each node one by one, resulting in longer execution times. On my system, for instance, executing `M-x info-apropos RET advice-add RET` takes approximately 8 seconds.

To enhance the efficiency of `info-apropos`, I suggest implementing a parallel search mechanism that utilizes multiple threads to search through nodes simultaneously. This approach has the potential to bring significant performance improvements, especially on multi-core CPUs. I believe such optimization could potentially result in a 10x speed boost.

I would greatly appreciate it if you could consider this idea for improving the `info-apropos` command. Please let me know your thoughts and if you require any additional information.


-- 



             reply	other threads:[~2023-10-03 11:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-03 11:32 Eval EXEC [this message]
2023-10-03 16:15 ` Proposal to Improve Performance of `info-apropos` Command in GNU Emacs 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=87y1gkhr5k.fsf@gmail.com \
    --to=execvy@gmail.com \
    --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).