summaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/expected/jsonb_plpython.out
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-08-11 15:41:34 -0400
committerAndres Freund <andres@anarazel.de>2025-08-11 15:41:34 -0400
commitb227b0bb4e032e19b3679bedac820eba3ac0d1cf (patch)
tree16824e186982c38492eba8ca893da21406bdd198 /contrib/jsonb_plpython/expected/jsonb_plpython.out
parent01d6832c109bcc37acb30e934b7c472334b7c291 (diff)
Reduce ExecSeqScan* code size using pg_assume()HEADorigin/masterorigin/HEADmaster
fb9f955025f optimized code generation by using specialized variants of ExecSeqScan* for [not] having a qual, projection etc. This allowed the compiler to optimize the code out the code for qual / projection. However, as observed by David Rowley at the time, the compiler couldn't prove the opposite, i.e. that the qual etc *are* present. By using pg_assume(), introduced in d65eb5b1b84, we can tell the compiler that the relevant variables are non-null. This reduces the code size to a surprising degree and seems to lead to a small but reproducible performance gain. Reviewed-by: Amit Langote <amitlangote09@gmail.com> Discussion: https://postgr.es/m/CA+HiwqFk-MbwhfX_kucxzL8zLmjEt9MMcHi2YF=DyhPrSjsBEA@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/expected/jsonb_plpython.out')
0 files changed, 0 insertions, 0 deletions