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: Shigio YAMAGUCHI
Subject: Re: [PATCH] Add 2-pass mode to gtags
Date: Thu, 21 Jan 2010 09:37:47 +0900

Hi,
> When formata of GRTAGS and GSYMS are different, incremantal updating
> with 1-pass parsing is impossible. 
> When only one of GRTAGS and GSYMS exists, 1-pass parsing is inefficient
> because the data which are not used later are written to temporary file.
> 
> In these cases, the current implementation falls back to 2-pass parsing.
> To simplify the source code, I want to treat these cases as an error. 
> How do you think?

I agree with you.
Though GLOBAL is built so as not to depend on tacit assumptions as much
as possible, there is no necessity for supporting all the combinations.
I think that a new improvement need not become the victim of needless
flexibility.

How if the following assumption is shared?
o If GRTAGS or GSYMS exists then the both are sure to exist.
o The format of GRTAGS and GSYMS is always the same.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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