bug-global
[Top][All Lists]
Advanced

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

Re: Global error


From: Park Kit
Subject: Re: Global error
Date: Thu, 16 Jun 2016 12:21:09 +0100

Thanks for a reply. This may be suggestions which may be on different thread. If you want, would do.

I have source tree which has many sym links and sub trees which I do not want to parse. Gtags has a "skip" feature but it's limited.

1. For example, not able to use glob on path name so have to list out all names explicitly which could have too many.
2. Not able to have "skip" field more than one. For example,

# for sub folder x
skip=gggg

# for sub folder y
skip=xxxx

Is there any other easy way to filter out targets files/directories so that can have small tag db and faster running?


Many thanks,
Kit
------
Sorry for a terse reply or typo as sent from a mobile.


2016-06-16 9:49 GMT+01:00 Shigio YAMAGUCHI <address@hidden>:
Hi,
Thank you for the Cc: bug mailing list.

> 1. Yes, I know but it seems that gtags uses sort utility 
> internally? See that sort are making lots of temp files 
> while gtags is doing parsing.

Yes. 
You can stop sorting using the following configuration option.

./configure --with-posix-sort=no

But it probably becomes slow.

The --sqlite3 option does not use sorting, either.

> 2. It seems it's 2GB issue.
> -rw-------  1 kit kit  895279104 Jun 15 16:19 GPATH
> -rw-------  1 kit kit          0 Jun 15 15:54 GRTAGS
> -rw-------  1 kit kit 2147483647 Jun 15 16:21 GTAGS

Probably, that's right.
 
> 3. sqlite. Is that because it could have tag file bigger 
> than 2GB? If use sqlite, is it going be slower than using
> normal tag db?
 
Please try it.

Regards,
Shigio

--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


reply via email to

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