> This is faster in the condition that I used. > source tree: linux-2.6.19 > OS: Fedora core 4 (Linux 2.6.13, glibc 2.3.5, gcc 4.0.1) > > ==== CVS HEAD ==== > $ foreach cachesize ( 500000 1000000 5000000 10000000 50000000 100000000 ) > foreach? setenv GTAGSCACHE $cachesize > foreach? time global -r '.*' >/dev/null > foreach? end > 3.676u 0.100s 0:03.77 100.0% 0+0k 0+0io 0pf+0w > 3.784u 0.104s 0:03.88 100.0% 0+0k 0+0io 0pf+0w > 3.784u 0.092s 0:03.87 100.0% 0+0k 0+0io 0pf+0w > 4.048u 0.084s 0:04.12 100.0% 0+0k 0+0io 0pf+0w > 4.424u 0.104s 0:04.51 100.2% 0+0k 0+0io 0pf+0w > 4.668u 0.176s 0:04.83 100.0% 0+0k 0+0io 0pf+0w > > ==== Pached version ==== > $ foreach cachesize ( 500000 1000000 5000000 10000000 50000000 100000000 ) > foreach? setenv GTAGSCACHE $cachesize > foreach? time global -r '.*' >/dev/null > foreach? end > 0.160u 0.088s 0:00.24 100.0% 0+0k 0+0io 0pf+0w > 0.184u 0.084s 0:00.26 100.0% 0+0k 0+0io 0pf+0w > 0.176u 0.104s 0:00.27 100.0% 0+0k 0+0io 0pf+0w > 0.208u 0.080s 0:00.28 100.0% 0+0k 0+0io 0pf+0w > 0.244u 0.128s 0:00.36 100.0% 0+0k 0+0io 0pf+0w > 0.280u 0.128s 0:00.40 100.0% 0+0k 0+0io 0pf+0w
This seems to be an extreme example. The "-r '.*'" doesn't seem to be actually used though it is possible to use certainly. How does it become after changing command line from "global -r '.*'" to "global main"? -- 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
