RefLib

Reference library for AI

Back

postgresql_16:4.17.1.2 Inlining

PostgreSQL 16 > Server Administration > Just-in-Time Compilation (JIT) > What Is JIT compilation? > Inlining

PostgreSQL is very extensible and allows new data types, functions, operators and other database objects to be defined; see (see postgresql_16:6.1). In fact the built-in objects are implemented using nearly the same mechanisms. This extensibility implies some overhead, for example due to function calls (see (see postgresql_16:6.1.3)). To reduce that overhead, JIT compilation can inline the bodies of small functions into the expressions using them. That allows a significant percentage of the overhead to be optimized away.

Back