| От | Tom Lane |
|---|---|
| Тема | Re: Idea for cleaner representation of snapshots |
| Дата | |
| Msg-id | 7691.1174843385@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Idea for cleaner representation of snapshots (Gregory Stark <stark@enterprisedb.com>) |
| Ответы |
Re: Idea for cleaner representation of snapshots
|
| Список | pgsql-hackers |
Gregory Stark <stark@enterprisedb.com> writes:
> It sounds like a fine idea from the point of view of flexibility. But as far
> as faster... I guess it depends on how often HeapTupleSatisfiesVisibility is
> used in contexts where the compiler is able to optimize away the conditionals
> or the cpu is able to predict them accurately.
The compiler can't optimize away those conditionals, and even if the
hardware can predict them accurately, one predicted jump has to be
faster than five successive ones. The branch-prediction hardware works
for function pointer calls too (else C++ would be seriously slow).
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера