Cscope egrep speedup
1 answer
cscope will not speed up grep and egrep with a database (almost). This is because cscope will not create an inverted index on any possible substring, and will not use some regex speedup technique with some type of precomputed index. The only speedup is that cscope will only run the grep / egrep function on source files, and that's only speedup when compared to grep regex -r .
(which also checks for .obj, .exe binaries).
The Egrep function cannot use the cscope database.
So move your code to local fs (from fs network), install more memory, disable mapping via env LC_ALL = C or LC_ALL = POSIX, disable atime on your fs.
You can also migrate your fs to SSD or RAMDISK.
+1
source to share