Repository navigation
v0.1.2
Summary
- Improved pattern matching by refining match skipping behavior in multiple search functions.
- Ensured all matches are detected by incrementing indices correctly.
- Minor optimizations for search algorithm accuracy.
Changes
Bug Fixes
- Fixed pattern skipping logic:
- Adjusted
boyer_moore_search,kmp_search,simd_search, andavx2_searchto increment by1instead ofpattern_lento ensure all matches are detected. - Prevented unintended skips, improving detection of overlapping matches.
- Adjusted
Code Improvements
- Refined search behavior:
- Made index advancement more consistent across different search algorithms.
- Improved handling of match detection without affecting performance.
Files Modified
krep.c: Updated search logic in multiple functions.
Version Bump
- Updated version:
0.1.1→0.1.2
Author
Davide Santangelo
This release ensures more accurate pattern detection while maintaining performance optimizations.