| От | Neil Conway |
|---|---|
| Тема | Re: What to do with inline warnings? |
| Дата | |
| Msg-id | 1210896759.20076.40.camel@dell.linuxdev.us.dell.com обсуждение исходный текст |
| Ответ на | Re: What to do with inline warnings? (Gregory Stark <stark@enterprisedb.com>) |
| Список | pgsql-hackers |
On Wed, 2008-05-14 at 20:25 +0100, Gregory Stark wrote: > The Linux kernel does have some macros meant to mark unlikely branches > (usually assertion failures) but I'm not sure how they work. And Gcc also has > a few optimizations which are driven by profiling data but I it doesn't sound > like this is one of them. GCC's profile-driven optimization can be used to guide decisions about both branch prediction/likelihood and function inlining. IMHO it is definitely worth building the infrastructure to get Postgres builds with profile-driven optimization -- certainly more maintainable and less arbitrary than builtin_expect() and friends to me. -Neil
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера