Skip to content

v0.1.2

Choose a tag to compare

@davidesantangelo davidesantangelo released this 11 Mar 18:15
· 136 commits to main since this release

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, and avx2_search to increment by 1 instead of pattern_len to ensure all matches are detected.
    • Prevented unintended skips, improving detection of overlapping matches.

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.