Re: asynchronous and vectorized execution - Mailing list pgsql-hackers

From David Rowley
Subject Re: asynchronous and vectorized execution
Date
Msg-id CAKJS1f-TnaeDbC_K8FJTbV=ArRYb+V3sEr-ayvqqYVSNXCXQLQ@mail.gmail.com
Whole thread Raw
In response to Re: asynchronous and vectorized execution  (Kouhei Kaigai <kaigai@ak.jp.nec.com>)
Responses Re: asynchronous and vectorized execution
List pgsql-hackers
On 10 May 2016 at 13:38, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:
> My concern about ExecProcNode is, it is constructed with a large switch
> ... case statement. It involves tons of comparison operation at run-time.
> If we replace this switch ... case by function pointer, probably, it make
> performance improvement. Especially, OLAP workloads that process large
> amount of rows.

I imagined that any decent compiler would have built the code to use
jump tables for this. I have to say that I've never checked to make
sure though.


-- David Rowley                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: between not propated into a simple equality join
Next
From: Kouhei Kaigai
Date:
Subject: Re: asynchronous and vectorized execution