bug-global
[Top][All Lists]
Advanced

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

Re: [htags feature request] generate hypertext of source codedynamically


From: Shigio Yamaguchi
Subject: Re: [htags feature request] generate hypertext of source codedynamically from CVS repository
Date: Sun, 11 May 2003 13:00:00 +0900

> I want the function which generates the hypertext of source code dynamically 
from CVS repository.
> I think that this function is effective in saving disk space.

I have estimated the effect of your idea about htags.

First of all, your idea includes two functions, I believe.

1. Generate hypertext of source code dynamically.
2. Extract source code from CVS repository dynamically.

I have estimated the effect of above functions in the case of linux-2.5.9.

linux-2.5.9
===========

FILE TYPE                       DISK USAGE
--------------------------------------------------
original source files            147 M bytes (  7%)
tag files (GTAGS,GRTAGS,...)     409 M bytes ( 19%)
hypertext(for indexes)           774 M bytes ( 36%)
hypertext(for source code)       834 M bytes ( 38%)
---------------------------------------------------
Total                           2164 M bytes (100%)

>From above result, we can say like follows:

        Function 1. reduces 38% of disk space.
        Function 2. reduces 7% of disk space.

I think function 1. brings big merit.
But about function 2., I don't know whether or not it is a big improvement
when thinking some side effects:

o We cannot use grep and id-utils from CGI form when realistically thinking.
o Users depends on CVS repository server. If server is down then we cannot
  extract source files. If network is slow then we must wait for reply
  for a long time.

Furthermore, anyway, we need original source files to generate tag files
(GTAGS, ...).

Should we implement function 2?
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
Spare mail address: <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]