Re: Faster install-sh in C

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: Faster install-sh in C
Дата
Msg-id
200503252323.j2PNN4526469@candle.pha.pa.us
Ответ на
Список
Дерево обсуждения
Faster install-sh in C Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Faster install-sh in C Bruce Momjian <pgman@candle.pha.pa.us>
Re: Faster install-sh in C Bruce Momjian <pgman@candle.pha.pa.us>
Re: Faster install-sh in C Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Faster install-sh in C Neil Conway <neilc@samurai.com>
Re: Faster install-sh in C Peter Eisentraut <peter_e@gmx.net>
Re: Faster install-sh in C Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Faster install-sh in C Peter Eisentraut <peter_e@gmx.net>
Re: Faster install-sh in C Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Faster install-sh in C Neil Conway <neilc@samurai.com>
Re: Faster install-sh in C Tom Lane <tgl@sss.pgh.pa.us>
Re: Faster install-sh in C Bruce Momjian <pgman@candle.pha.pa.us>
Re: Faster install-sh in C Tom Lane <tgl@sss.pgh.pa.us>
Re: Faster install-sh in C Bruce Momjian <pgman@candle.pha.pa.us>
Re: Faster install-sh in C Tom Lane <tgl@sss.pgh.pa.us>
Re: Faster install-sh in C Bruce Momjian <pgman@candle.pha.pa.us>
Tom Lane wrote:
> Bruce Momjian  writes:
> > Tom Lane wrote:
> >> We might be able to get away with this for just the headers, though,
> >> and that's certainly the bulk of the install work now.
> 
> > Here is my next version of the patch that uses 'cp' and 'chmod' to
> > install multiple header files rather than 'install'.
> 
> > I moved the file modes into variables so any changes are propogated to
> > src/include/Makefile.
> 
> > This is 20 times faster than what we have now, 8 seconds vs 0.40 seconds.
> 
> I like it.  Given that we are installing into directories we'd have just
> created ourselves, which should have no extraneous files in them, a lot
> of the objections one might raise go away.
> 
> Why don't you go ahead and apply that to HEAD for the time being, even
> if we end up replacing it later?  Might as well start saving developers'
> time immediately.

Done.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
В списке pgsql-patches по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Faster install-sh in C
От: Bruce Momjian
Дата:
FAQ