On Fri, Sep 03, 2004 at 10:42:30AM +0200, Fabien COELHO wrote:

> As I'm into these files, I can say that one of the reason for that is that
> the shell scripts in the makefile looks inefficient, with nested for-loops
> and one-at-a-time config/install-sh forked-script copies for 350 header
> files, on the 971 files of a standard installation.

Also the install-sh script apparently is way more complex than it needs
to be.  There's probably a lot of that complexity (and subsequent
slowness) that install-all-headers doesn't need.  A lot of time goes
into processing the script itself rather than doing useful work.

Is there an objection to trying to convert it to a simpler, faster
alternative?  Maybe even one that receives multiple files as arguments,
which would reduce the number of times it is called by an order of
magnitude.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
<Schwern> It does it in a really, really complicated way
<crab> why does it need to be complicated?
<Schwern> Because it's MakeMaker.


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to