| От | Andres Freund |
|---|---|
| Тема | Re: Make LWLockAcquireCommon() inline? |
| Дата | |
| Msg-id | 20140901095823.GC7400@awork2.anarazel.de обсуждение |
| Ответ на | Make LWLockAcquireCommon() inline? (Andres Freund <andres@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 2014-08-30 14:22:40 +0200, Andres Freund wrote: > Hi, > > when profiling optimized builds (linux, gcc 4.9) it's currently > LWLockAcquireCommon() showing up, not it's callers. Instruction level > profiles show that the tests for valptr show up in profiles to some > extent. Since most callers don't need the valptr logic it seems prudent > to mark the function inline which will then eliminate the superflous > branches. > > Arguments against? Done. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера