]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
mcclellancompile: MAX_SHERMAN_LIST_LEN can be 9
authorJustin Viiret <justin.viiret@intel.com>
Thu, 18 Jan 2018 00:24:00 +0000 (11:24 +1100)
committerChang, Harry <harry.chang@intel.com>
Wed, 27 Jun 2018 05:39:10 +0000 (13:39 +0800)
src/nfa/mcclellancompile.cpp

index d705ddf919e15d0c3ddfb30e4cfa7a122719f641..8e3a744cb2b21c4850355b5b2f0ae9d5fecc5dd6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2017, Intel Corporation
+ * Copyright (c) 2015-2018, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -760,7 +760,7 @@ bytecode_ptr<NFA> mcclellanCompile8(dfa_info &info, const CompileContext &cc,
     return nfa;
 }
 
-#define MAX_SHERMAN_LIST_LEN 8
+#define MAX_SHERMAN_LIST_LEN 9
 
 static
 void addIfEarlier(flat_set<dstate_id_t> &dest, dstate_id_t candidate,