[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal to Improve Performance of `info-apropos` Command in GNU Ema

From: Eli Zaretskii
Subject: Re: Proposal to Improve Performance of `info-apropos` Command in GNU Emacs
Date: Tue, 03 Oct 2023 19:15:37 +0300

> From: Eval EXEC <execvy@gmail.com>
> Date: Tue, 03 Oct 2023 19:32:01 +0800
> 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.

Unfortunately, Emacs currently cannot run several threads
concurrently, each one running Lisp code.  Only one thread in Emacs
can run Lisp (or its underlying primitives written in C) at any given

reply via email to

[Prev in Thread] Current Thread [Next in Thread]