bug-global
[Top][All Lists]
Advanced

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

Re: [PATCH] Add 2-pass mode to gtags


From: Hideki IWAMOTO
Subject: Re: [PATCH] Add 2-pass mode to gtags
Date: Fri, 15 Jan 2010 00:16:13 +0900

Hi.

On Sat, 09 Jan 2010 19:30:59 +0900, Shigio YAMAGUCHI wrote...
> I do not think that external-writer is significant, because:
> o It does not improve efficiency too much.
> o It requires external programs. It complicates the program itself, and makes 
> it difficult
>   to measure the performance of the program.

I deleted external-writer according to your opinion.
The revised version is attached.

Other changes:
 - A bug in making tarball was fixed.
   (libutil/asm_parse.h was not included.)
 - Incremental updating that use built-in parser was added. 

Diffstat:
$ diffstat 20100113-builtin-parser.patch
 configure.ac              |   11
 global/global.c           |  145 +++++++++
 gtags.conf.in             |    8
 gtags/gtags.c             |  189 +++++++++++-
 gtags/manual.in           |    2
 libutil/.cvsignore        |    4
 libutil/C.c               |  664 +++++++++++++++++++++++++++++++++++++++++++
 libutil/Cpp.c             |  706 ++++++++++++++++++++++++++++++++++++++++++++++
 libutil/Makefile.am       |    8
 libutil/asm_parse.y       |  166 ++++++++++
 libutil/asm_scan.l        |  210 +++++++++++++
 libutil/global.h          |    1
 libutil/gtagsop.c         |   87 +++++
 libutil/gtagsop.h         |    3
 libutil/java.c            |  163 ++++++++++
 libutil/parser.c          |  277 ++++++++++++++++++
 libutil/parser.h          |   53 +++
 libutil/parser_internal.h |   52 +++
 libutil/php.l             |  357 +++++++++++++++++++++++
 reconf.sh                 |   13
 20 files changed, 3094 insertions(+), 25 deletions(-)
$ diffstat 20100113-2pass-parsing.patch
 gtags.c |  275 ++++++++++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 198 insertions(+), 77 deletions(-)
$ diffstat 20100114-1pass-parsing.patch
 gtags/gtags.c     |  189 +++++++++++++++++++++++++++++++++++++++++++++---------
 libutil/gtagsop.c |   86 ++++++++++++++++++++----
 libutil/gtagsop.h |    5 +
 3 files changed, 236 insertions(+), 44 deletions(-)

----
Hideki IWAMOTO  address@hidden

Attachment: 20100113-2pass-parsing.patch
Description: Binary data

Attachment: 20100113-builtin-parser.patch
Description: Binary data

Attachment: 20100114-1pass-parsing.patch
Description: Binary data


reply via email to

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