aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/array_userfuncs.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-10-16 14:51:18 -0700
committerAndres Freund <andres@anarazel.de>2018-10-16 14:51:18 -0700
commit28d750c0cd5b3cea0dfbc84cce24e30f5c2eb966 (patch)
tree240db976e1466e5dbb910f2751f4059cc203c16a /src/backend/utils/adt/array_userfuncs.c
parent68fc227dd0737f38295f3dee0c10268ad11a5150 (diff)
downloadpostgresql-28d750c0cd5b3cea0dfbc84cce24e30f5c2eb966.tar.gz
postgresql-28d750c0cd5b3cea0dfbc84cce24e30f5c2eb966.zip
Reorder FmgrBuiltin members, saving 25% in size.
That's worth it, as fmgr_builtins is frequently accessed, and as fmgr_builtins is one of the biggest constant variables in a backend. On most 64bit systems this will change the size of the struct from 32byte to 24bytes. While that could make indexing into the array marginally more expensive, the higher cache hit ratio is worth more, especially because these days fmgr_builtins isn't searched with a binary search anymore (c.f. 212e6f34d5). Discussion: https://postgr.es/m/20181016201145.aa2dfeq54rhqzron@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions