bug-global
[Top][All Lists]
Advanced

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

Re: C version of htags(1)


From: Shigio Yamaguchi
Subject: Re: C version of htags(1)
Date: Tue, 27 Jul 2004 21:05:18 +0900

> How faster is new C version than Perl version?

The C version is about three times as fast as the PERL version. :-)
Here is a statistics output when GLOBAL's source code is processed.

o PERL version

- Elapsed time of making duplicate entries ............         15 seconds.
- Elapsed time of making function index ...............          1 seconds.
- Elapsed time of making file index ...................          0 seconds.
- Elapsed time of making hypertext ....................         55 seconds.
- The entire elapsed time .............................         71 seconds.

o C version

- Elapsed time of making duplicate entries ............          9 seconds.
- Elapsed time of making function index ...............          0 seconds.
- Elapsed time of making file index ...................          0 seconds.
- Elapsed time of making hypertext ....................         14 seconds.
- The entire elapsed time .............................         23 seconds.

Because the C version is only a replacement of the PERL version,
I think that there is still room of optimization.
--
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]