bug-gnulib
[Top][All Lists]
Advanced

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

Re: FYI: replacement for MODULES.html.sh


From: Thien-Thi Nguyen
Subject: Re: FYI: replacement for MODULES.html.sh
Date: Wed, 10 Nov 2010 09:47:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Bruno Haible <address@hidden>
() Tue, 9 Nov 2010 23:49:24 +0100

   If that is considered a big problem, then let's *move* the
   module description parser to a different programming language
   (C for example - a language that is fast and that everyone here
   knows well). But let's not *duplicate* it.  Code duplication is
   always a mistake.

Another idea is to add "gnulib-tool --dump-database=FORMAT", where
FORMAT would be ‘sexp’ for a paren-inclined caller.  This way, the
internal database format particulars remain a secret.

But anyway, here we do not have code duplication.  We have algorithm
aping and aggregation.  Adding ‘--dump-database’ would incorporate the
aggregation and eliminate the need for aping.  Aggregation is what gives
the desired performance.  Caller, be it MODULES.html.sh or make-html,
should not need to inner loop a quarter-megabyte shell script.  THAT is
a mistake.



reply via email to

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