Files
postgresql/src/test/modules/test_lfind/Makefile
John Naylor b6ef167564 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
2022-08-10 10:48:29 +07:00

24 lines
509 B
Makefile

# src/test/modules/test_lfind/Makefile
MODULE_big = test_lfind
OBJS = \
$(WIN32RES) \
test_lfind.o
PGFILEDESC = "test_lfind - test code for optimized linear search functions"
EXTENSION = test_lfind
DATA = test_lfind--1.0.sql
REGRESS = test_lfind
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = src/test/modules/test_lfind
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif