bug-global
[Top][All Lists]
Advanced

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

Re: [RFC] New compression function.


From: Hideki IWAMOTO
Subject: Re: [RFC] New compression function.
Date: Sat, 13 Feb 2010 23:23:59 +0900

Hi. Yamaguchi san.

I found a problem about GTAGS_COMPNAME.
When GTAGS_COMPNAME is set and GTAGS_COMPACT is not set, calling like
compress("foo::bar","bar") causes NULL pointer access in the following line. 

  203                         int i, limit = name2ab->length;

How should this be fixed?

On Wed, 10 Jan 2007 09:18:26 +0900, Shigio YAMAGUCHI wrote...
> 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
> 
> 
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-global

----
Hideki IWAMOTO  address@hidden




reply via email to

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