aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copyfromparse.c
diff options
context:
space:
mode:
authorJohn Naylor <john.naylor@postgresql.org>2022-08-20 21:14:01 -0700
committerJohn Naylor <john.naylor@postgresql.org>2022-08-26 14:03:39 +0700
commite813e0e16852c080259cd0813e1a82ecb2625aea (patch)
treea3c20ae4fbf3eeac56ff1b66e656a25e142ed547 /src/backend/commands/copyfromparse.c
parentbcc8b14ef630b2ad9aae7813981fb248fbff9ed8 (diff)
downloadpostgresql-e813e0e16852c080259cd0813e1a82ecb2625aea.tar.gz
postgresql-e813e0e16852c080259cd0813e1a82ecb2625aea.zip
Add optimized functions for linear search within byte arrays
In similar vein to b6ef167564, add pg_lfind8() and pg_lfind8_le() to search for bytes equal or less-than-or-equal to a given byte, respectively. To abstract away platform details, add helper functions and typedefs to simd.h. John Naylor and Nathan Bossart, per suggestion from Andres Freund Discussion: https://www.postgresql.org/message-id/CAFBsxsGzaaGLF%3DNuq61iRXTyspbO9rOjhSqFN%3DV6ozzmta5mXg%40mail.gmail.com
Diffstat (limited to 'src/backend/commands/copyfromparse.c')
0 files changed, 0 insertions, 0 deletions