Skip to content

Release v0.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jul 22:04
v0.4.1

🐛 Fixes

  • Fix use-after-free caused by reusing re2 pattern after cache invalidation.

⚡ Improvements

  • Bypass cache on stable patterns, ~10% improvement removing cache lookups.
  • Use RE2::Set to optimize stable multimatch. Avoiding linear scan turns O(patterns * rows) into O(patterns + rows), for 4 patterns this may increase perf 1.3x, while at 10 patterns that grows to 3x.

🆚 For more detail compare changes since v0.4.0.