diff options
author | John Naylor | 2022-08-03 16:49:04 +0000 |
---|---|---|
committer | John Naylor | 2022-08-10 03:48:29 +0000 |
commit | b6ef167564905e8dab8af1b1dba0997ec61204ca (patch) | |
tree | 9a2d2cc792c48588214a9e9dc8f7adfd68905667 /config/Makefile | |
parent | 356dd2ce5b7b0f3ea11e016f73b1f173604b8452 (diff) |
Introduce optimized routine for linear searches of arrays
Use SSE2 intrinsics to speed up the search, where available. Otherwise,
use a simple 'for' loop. The motivation to add this now is to speed up
XidInMVCCSnapshot(), which is the reason only unsigned 32-bit integer
arrays are optimized. Other types are left for future work, as is the
extension of this technique to non-x86 platforms.
Nathan Bossart
Reviewed by: Andres Freund, Bharath Rupireddy, Masahiko Sawada
Discussion: https://postgr.es/m/20220713170950.GA3116318%40nathanxps13
Diffstat (limited to 'config/Makefile')
0 files changed, 0 insertions, 0 deletions