bug-global
[Top][All Lists]
Advanced

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

Re: algorithm of incremental updating


From: Shigio Yamaguchi
Subject: Re: algorithm of incremental updating
Date: Mon, 27 Jun 2005 10:11:11 +0900

> This is a patch for improving the performance of "gtags -i".
> The order of updating is changed in order to reduce
> the number of times of opening and closing.

It seems that the logging message of gtags -vi has been changed.
Is the change needed?

About the change in the specification, I think that it is necessary to
discuss it separating from the tuning, and it should be decided by user's
aspect not by programmer's one. I think that the new logging message is
long and is not easy to understand.

---

I invoked gtags -vi like follows:
% gtags
% touch libutil/strbuf.c
% cp libutil/strbuf.c libutil/add.c
% rm libutil/strbuf.h
% gtags -vi
... Logging message...

------------------------------
Loggin message of global-4.8.6
------------------------------
checking /tmp/global-4.8.6/GTAGS
GTAGS found at '/tmp/global-4.8.6/GTAGS'.
[Mon Jun 27 09:15:37 JST 2005] Gtags started.
 Using default configuration.
 Tag found in '/tmp/global-4.8.6'.
 Incremental update.
 Updating tags of libutil/strbuf.c ...GTAGS..GRTAGS..GSYMS.. Done.
 Adding tags of libutil/add.c ...GTAGS..GRTAGS..GSYMS.. Done.
 Deleting tags of libutil/strbuf.h ...GTAGS..GRTAGS..GSYMS.. Done.
 Global databases have been modified.
[Mon Jun 27 09:15:37 JST 2005] Done.

--------------------------------
Loggin message of global-current
--------------------------------
checking /tmp/global-4.8.6/GTAGS
GTAGS found at '/tmp/global-4.8.6/GTAGS'.
[Mon Jun 27 09:23:14 JST 2005] Gtags started.
 Using default configuration.
 Tag found in '/tmp/global-4.8.6'.
 Incremental update.
[Mon Jun 27 09:23:14 JST 2005] Updating 'GTAGS'.
 deleting tags of ./libutil/strbuf.h
 deleting tags of ./libutil/strbuf.c
 adding tags of ./libutil/add.c
 adding tags of ./libutil/strbuf.c
[Mon Jun 27 09:23:14 JST 2005] Updating 'GRTAGS'.
 deleting tags of ./libutil/strbuf.h
 deleting tags of ./libutil/strbuf.c
 adding tags of ./libutil/add.c
 adding tags of ./libutil/strbuf.c
[Mon Jun 27 09:23:14 JST 2005] Updating 'GSYMS'.
 deleting tags of ./libutil/strbuf.h
 deleting tags of ./libutil/strbuf.c
 adding tags of ./libutil/add.c
 adding tags of ./libutil/strbuf.c
 Global databases have been modified.
[Mon Jun 27 09:23:14 JST 2005] Done.
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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