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: Shigio YAMAGUCHI
Subject: Re: [Global-commit] global global/global.c libutil/gtagsop.c libuti...
Date: Thu, 07 Dec 2006 11:40:24 +0900

> 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
--
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]