help-global
[Top][All Lists]
Advanced

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

Re: Update the tag database when a single source file is modified


From: Shlomy Reinstein
Subject: Re: Update the tag database when a single source file is modified
Date: Wed, 25 Feb 2009 11:22:50 +0200

> You can easily achieve it by changing gtags/gtags.c file especially in
> incremental() function.
> But it might be worthless. Though scanning tree seems to be redundant,
> it does not so take time. It is updating database to spend a lot of time.

Running "global -u" on my project tree, with NO changes in any of the
files, takes about 5 seconds. And I'm willing to run this each time I
save a file, which can be quite frequently.

> BSD Db library is not suitable for this usage. It is being examined to be
> going to replace the database system with another one in the future.
> --
> Shigio YAMAGUCHI <address@hidden>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
>

Thanks.

Shlomy




reply via email to

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