bug-global
[Top][All Lists]
Advanced

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

Re: [Global-commit] global global/global.c libutil/gtagsop.c libuti...


From: Hideki IWAMOTO
Subject: Re: [Global-commit] global global/global.c libutil/gtagsop.c libuti...
Date: Thu, 07 Dec 2006 14:42:40 +0900

On Thu, 07 Dec 2006 11:40:24 +0900, Shigio YAMAGUCHI wrote...
> > When a project is large, most of the execution time is spent for the 
> > pooling. 
> > The switching after pooling seems too late.
> 
> Using idset, we can count the number of lines of the result without spooling.
> How about this?
> 
>       count the number of result using idset
>       if (number of lines of the result > RESULT_THRESHOLD)
>               use GPATH
>       else
>               (load path names and) use internal sort

Hmm. The internal sorting is not slow even on large projects. 
I can not understand why you do not focus on the speedup of pooling.

----
Hideki IWAMOTO  address@hidden




reply via email to

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