Switch to b2gc as default pattern matcher as it uses less memory and is a little faster.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 57b098e98c
commit b4454b6846

@ -64,7 +64,7 @@ static void *b2g_func;
#define B2GC_PMINLEN_MAX 8
/* align pattern storage to these bytes. 1 disables. */
#define B2GC_ALIGN_PATTERNS 16
#define B2GC_ALIGN_PATTERNS 2
void B2gcInitCtx (MpmCtx *, int);
void B2gcThreadInitCtx(MpmCtx *, MpmThreadCtx *, uint32_t);

@ -133,7 +133,7 @@ cuda:
# compiled with --enable-cuda: b2g_cuda. Make sure to update your
# max-pending-packets setting above as well if you use b2g_cuda.
mpm-algo: b2g
mpm-algo: b2gc
# The memory settings for hash size of these algorithms can vary from lowest
# (2048) - low (4096) - medium (8192) - high (16384) - highest (32768) - max

Loading…
Cancel
Save