() Bruno Haible <br...@clisp.org> () 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.