Re: [PERFORM] A Better External Sort?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [PERFORM] A Better External Sort?
Дата
Msg-id 20051004100441.GC17589@svana.org
обсуждение исходный текст
Ответ на Re: [PERFORM] A Better External Sort?  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: [PERFORM] A Better External Sort?  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Oct 03, 2005 at 10:51:32PM +0100, Simon Riggs wrote:
> > Basically, I recommend adding "-Winline -finline-limit-1500" to the
> > default build while we discuss other options.
>
> I add -Winline but get no warnings. Why would I use -finline-limit-1500?
>
> I'm interested, but uncertain as to what difference this makes. Surely
> using -O3 works fine?

Different versions of gcc have different ideas of when a function can
be inlined. From my reading of the documentation, this decision is
independant of optimisation level. Maybe your gcc version has a limit
higher than 1500 by default.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Tuning current tuplesort external sort code for 8.2
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Vacuum and Transactions