Re: [PERFORM] A Better External Sort?
От | Martijn van Oosterhout |
---|---|
Тема | Re: [PERFORM] A Better External Sort? |
Дата | |
Msg-id | 20051004152336.GI17589@svana.org обсуждение исходный текст |
Ответ на | Re: [PERFORM] A Better External Sort? (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: [PERFORM] A Better External Sort?
|
Список | pgsql-hackers |
On Tue, Oct 04, 2005 at 03:56:53PM +0100, Simon Riggs wrote: > I've been using gcc 3.4 and saw no warning when using either "-Winline" > or "-O3 -Winline". Ok, I've just installed 3.4 and verified that. I examined the asm code and gcc is inlining it. I concede, at this point just throw in -Winline and monitor the situation. As an aside, the *_getattr calls end up a bit suboptimal though. It's producing code like: cmp attlen, 4 je $elsewhere1 cmp attlen, 2 je $elsewhere2 ld byte here: --- much later --- elsewhere1: ld integer jmp $here elsewhere2: ld short jmp $here No idea whether we want to go down the path of hinting to gcc which size will be the most common. Have a nice day, -- 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 по дате отправления: