From bcca089526c6859e775243731037a469aec3065c Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 28 May 2012 22:46:07 -0700 Subject: Micro-optimize critical path of strstr, strcase and memmem. --- string/strstr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'string/strstr.c') diff --git a/string/strstr.c b/string/strstr.c index ec2a1e9..cfed771 100644 --- a/string/strstr.c +++ b/string/strstr.c @@ -38,6 +38,7 @@ #define AVAILABLE1(h, h_l, j, n_l) (true) #define AVAILABLE2(h, h_l, j, n_l) AVAILABLE (h, h_l, j, n_l) #define RET0_IF_0(a) if (!a) goto ret0 +#define AVAILABLE1_USES_J (0) #include "str-two-way.h" #undef strstr -- cgit v1.1