mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 07:42:21 +03:00
Introduce REPEAT_ALWAYS model for {0,} castle repeats
As Castle guards the repeats, no more state is needed for these repeats
This commit is contained in:
@@ -316,7 +316,7 @@ void buildSubcastles(const CastleProto &proto, vector<SubCastle> &subs,
|
||||
bool is_reset = repeatInfoPair[i].second;
|
||||
|
||||
enum RepeatType rtype = chooseRepeatType(pr.bounds.min, pr.bounds.max,
|
||||
min_period, is_reset);
|
||||
min_period, is_reset, true);
|
||||
RepeatStateInfo rsi(rtype, pr.bounds.min, pr.bounds.max, min_period);
|
||||
|
||||
DEBUG_PRINTF("sub %u: selected %s model for %s repeat\n", i,
|
||||
|
Reference in New Issue
Block a user