Re: [PATCHES] pgxs default installation + various fixes

Поиск
Список
Период
Сортировка
Искать

Re: [PATCHES] pgxs default installation + various fixes

От:
Alvaro Herrera <alvherre@dcc.uchile.cl>
Дата:
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 ()
 It does it in a really, really complicated way
 why does it need to be complicated?
 Because it's MakeMaker.

FAQ