> 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 <[EMAIL PROTECTED]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to