Thread: Branch prediction

Branch prediction

From
Gavin Sherry
Date:
Hi all,

GCC has supported block re-ordering through __builtin_expect() for some
time. I could not see and cannot recall any discussion of this in the
archives. Has anyone played with GCC block re-ordering and PostgreSQL?

Gavin