On Thu, 15 Jul 2021 at 12:30, Ranier Vilela <[email protected]> wrote: > > Em qua., 14 de jul. de 2021 às 21:21, David Rowley <[email protected]> > escreveu: >> But, in v8 there is no additional branch, so no branch to mispredict. >> I don't really see how your explanation fits. > > In v8 the branch occurs at : > + if (ExecGetResultType(outerPlanState(sortstate))->natts == 1)
You do know that branch is in a function that's only executed once during executor initialization, right? David
