mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
noodle: correct history req calculation
This commit is contained in:
committed by
Matthew Barr
parent
8869dee643
commit
98c791dc6e
@@ -523,7 +523,7 @@ bool isNoodleable(const vector<hwlmLiteral> &lits,
|
||||
}
|
||||
|
||||
if (stream_control) { // nullptr if in block mode
|
||||
if (lits.front().s.length() + 1 > stream_control->history_max) {
|
||||
if (lits.front().s.length() > stream_control->history_max + 1) {
|
||||
DEBUG_PRINTF("length of %zu too long for history max %zu\n",
|
||||
lits.front().s.length(),
|
||||
stream_control->history_max);
|
||||
|
Reference in New Issue
Block a user