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 /external
parent707ecbc0ba972e37d19a0240907c2813b7b465fc (diff)
sh: Bump VTABSIZE to 1000 which improves hash_set/get performance, avoiding collisions
Diffstat (limited to 'external')
-rw-r--r--external/sh/var.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/sh/var.c b/external/sh/var.c
index f7ddf0bc..5a412f88 100644
--- a/external/sh/var.c
+++ b/external/sh/var.c
@@ -71,7 +71,9 @@ __FBSDID("$FreeBSD: head/bin/sh/var.c 326025 2017-11-20 19:49:47Z pfg $");
#endif
+#ifndef VTABSIZE
#define VTABSIZE 39
+#endif
struct varinit {