3 ms·
>> The amounts it can advance at each failed match position are pre-calculated to be efficient. Wouldn't knowing that require having already run the search?
by itronitron 3y ago
>> The amounts it can advance at each failed match position are pre-calculated to be efficient.
Wouldn't knowing that require having already run the search?
- throw_pm23 3y agoNo, check the example given. To know how much we can advance, we only needed to examine the search string "explosion" in advance.