bug-global
[Top][All Lists]
Advanced

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

[RFC] New compression function.


From: Shigio YAMAGUCHI
Subject: [RFC] New compression function.
Date: Wed, 10 Jan 2007 09:18:26 +0900

Hi all,
I have added new compression function to the CVS version of GLOBAL.

You can use the function by specifying --compress[={line|name}] option.
(This option is just for test.)

        $ gtags --compress=line                 # line number compression
        $ gtags --compress=name                 # name compression
        $ gtags --compress                      # both of above

You can see the documentation of compression format as a comment
in libutil/gtagsop.c

Here is a result when applying to FreeBSD-6.1 kernel source code.

type            command line            total size of tags  elapsed time
------------------------------------------------------------------------
original        gtags                   76849152(100%)      35.72
line compress   gtags --compress=line   70180864(91%)       34.33
name compress   gtags --compress=name   65740800(86%)       33.91
both of above   gtags --compress        59310080(77%)       32.94
------------------------------------------------------------------------

If there is no problem, I would like to make it the default function
in the next version of GLOBAL.

Any comment?
--
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]