bug-global
[Top][All Lists]
Advanced

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

Re: algorithm of incremental updating


From: Hideki IWAMOTO
Subject: Re: algorithm of incremental updating
Date: Sun, 03 Jul 2005 23:50:24 +0900

On Sun, 03 Jul 2005 23:31:39 +0900, Hideki IWAMOTO wrote...
> On Sat, 02 Jul 2005 20:17:52 +0900, Shigio Yamaguchi wrote...
> >     /* Open all tags */
> >     foreach db (GTAGS, GRTAGS, GSYMS) {
> >             gtop[db] = gtags_open(db)
> >     }
> 
> Opening three tag files at once  increases the memory requirement.
> I don't think it a good idea.
> 

Another thing to be consider is that parsers open GTAGS for reading
while GTAGS is opened for modifying.
Probably, use of db->sync() is needed.

----
Hideki IWAMOTO  address@hidden




reply via email to

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