aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb_op.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-10-09 15:06:06 -0400
committerRobert Haas <rhaas@postgresql.org>2015-10-09 15:06:06 -0400
commitbfb54ff15a447fb22e9deae096e0d45b3e4bd56f (patch)
treebe464bb5a57e39b94e9a17f2baf7bf28237a01e8 /src/backend/utils/adt/jsonb_op.c
parentdb0f6cad4884bd4c835156d3a720d9a79dbd63a9 (diff)
downloadpostgresql-bfb54ff15a447fb22e9deae096e0d45b3e4bd56f.tar.gz
postgresql-bfb54ff15a447fb22e9deae096e0d45b3e4bd56f.zip
Make abbreviated key comparisons for text a bit cheaper.
If we do some byte-swapping while abbreviating, we can do comparisons using integer arithmetic rather than memcmp. Peter Geoghegan, reviewed and slightly revised by me.
Diffstat (limited to 'src/backend/utils/adt/jsonb_op.c')
0 files changed, 0 insertions, 0 deletions