Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Current state:   [One of "Under Discussion", "Accepted", "Rejected"]

Discussion thread: https://lists.apache.org/thread/q80w7zjdn488ymsnynzkngtb2cqrhc1z

...

Google Doc: <If the design in question is unclear or needs to be discussed and reviewed, a Google Doc can be used first to facilitate comments from others.>

Motivation

...

  1. Inline virtual function calls.
  2. Reduce memory read and write times.

Related Research

some research related to the functionThere are many databases that use codegen to improve performance, such as the advantages and disadvantages of the design, related considerations, etcClickHouse, PostgreSQL, and Impala.

Detailed Design

the detailed design of the function.

Scheduling

...

Here would be two stages:

  1. Implement the basic function of code generation.
  2. Optimize.