[Geany-devel] Request: multithreaded tag generation?

Lex Trotman elextr at xxxxx
Mon Nov 7 23:29:45 UTC 2011


On Tue, Nov 8, 2011 at 3:15 AM, Harold Aling <geany at sait.nl> wrote:
> On Mon, Nov 7, 2011 at 17:11, Thomas Martitz
> <thomas.martitz at student.htw-berlin.de> wrote:
>> Am 07.11.2011 17:06, schrieb Colomban Wendling:
>>>
>>> Hi,
>>>
>>> Le 07/11/2011 16:35, Harold Aling a écrit :
>>>>
>>>> Dear Geany Devs,
>>>>
>>>> I recently switched from GeanyPRJ to Gproject. Since Gproject doesn't
>>>> support multiple open projects I have to switch between projects, but
>>>> it takes up to 4 minutes to close one project and open another. A
>>>> project consists of roughly 1000-2000 php-related files.
>>>>
>>>> The "Generate tags for all project files" causes this massive delay,
>>>> but I really need that feature.
>>>>
>>>> At work I have a 2-core CPU, where 1 is completely idle and on my
>>>> desktop at home there are 5 cores are doing nothing while generating
>>>> tags. Can't they be utilized to speed up the tag generation?
>>>
>>> TL;DR: it's really not that easy.
>
> What if the indexing is done as is, but on the background with an
> indicator in the statusbar?

Hi,

As Colomban explained, tags cannot be accessed whilst tagmanager is
updating them, that still has to be the case, so you can't use
autocompletes and lots of other things whilst this is happening, and
even if that was acceptable there would be lots of work to actually
prevent the access.

Cheers
Lex

>
> -H-
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list