Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2017-03-27 12:18:37 -0400, Tom Lane wrote:
>> My feeling at this point is that we might be better off disabling
>> the computed-goto case by default. At the very least, we're going
>> to need a version check that restricts it to latest gcc.
> In my measurements it's still faster in at least gcc-5/6, even without
> the option (largely because it avoids array bounds checks on the jump
> table built for the switch).
Hm. What test cases are you using?
regards, tom lane