mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
Store len of patterns for fast comparison
This commit is contained in:
parent
538a1ac86a
commit
e8edfe409c
@ -357,6 +357,7 @@ struct __struct_STCategoryRule
|
||||
** A callsite needs to pass substring match for all the strings.
|
||||
*/
|
||||
char* pats[ST_MAX_PATTERNS_PER_RULE];
|
||||
PRUint32 patlen[ST_MAX_PATTERNS_PER_RULE];
|
||||
PRUint32 npats;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user