1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Micro-optimize critical path of strstr, strcase and memmem.

This commit is contained in:
Maxim Kuvyrkov
2012-05-28 22:46:07 -07:00
parent 99677e5755
commit bcca089526
4 changed files with 18 additions and 1 deletions

View File

@ -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