Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2018-02-13 02:13:54 +0300
committerBryan Drewery <bryan@shatow.net>2018-02-13 02:15:18 +0300
commit8dc5bc2fa60ce570e3297751eb39d83e6d7dd971 (patch)
treefedb335a80efbaa6456cd18095dd45644678158e /Makefile.am
parent707ecbc0ba972e37d19a0240907c2813b7b465fc (diff)
sh: Bump VTABSIZE to 1000 which improves hash_set/get performance, avoiding collisions
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e577c616..e5827f0e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,7 +157,7 @@ timestamp_SOURCES= src/libexec/poudriere/timestamp/timestamp.c
timestamp_LDADD= -lpthread
tsort_SOURCES= src/libexec/poudriere/tsort/tsort.c
-sh_CFLAGS= -DSHELL -std=gnu99 ${sh_hist_CFLAGS} \
+sh_CFLAGS= -DSHELL -std=gnu99 -DVTABSIZE=1000 ${sh_hist_CFLAGS} \
-include $(top_srcdir)/external/sh_compat/compat.h \
-I$(top_srcdir)/src \
-I$(top_srcdir)/external/sh