mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
Limex: don't not build accel schemes for impossible state sets
This commit is contained in:
@@ -118,9 +118,11 @@ void findSquashStates(const NGHolder &g,
|
||||
filterSquashers(g, squashMap);
|
||||
|
||||
/* We also filter out the cyclic states representing bounded repeats, as
|
||||
* they are not really cyclic. */
|
||||
* they are not really cyclic -- they may turn off unexpectedly. */
|
||||
for (const auto &br : repeats) {
|
||||
squashMap.erase(br.cyclic);
|
||||
if (br.repeatMax.is_finite()) {
|
||||
squashMap.erase(br.cyclic);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user