-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Description
Currently, Doris bundles and uses an older version of vectorscan (a fork of HyperScan optimized for SIMD). To address known bugs, improve stability, and gain performance benefits, it is necessary to upgrade this dependency to the latest release version.
Solution
Proposal
Update the bundled vectorscan library from its current version to 5.4.12.
Reason for Change
This upgrade brings a multitude of fixes and optimizations, most notably:
Performance Improvement
- Utilizes 256-bit TBL instructions to significantly speed up the truffle instruction.
Critical Bugfixes
Resolves several severe issues that could lead to incorrect results or runtime failures, including:
- Fixes a potential failure in partial_load_u64 when handling zero-length buffers.
- Corrects an out-of-bounds read in the AVX512VBMI implementation of fdr_exec_fat_teddy.
- Fixes an off-by-one error in the SVE2 noodle implementation.
- Allows patterns that start with a null character (\0), improving compatibility.
- Resolves a false positive issue at the end of a vector in the double shufti algorithm.
- Fixes regressions related to AVX512VBMI.
System & Compatibility
- Fixes the SSE4.2 platform check in hs_valid_platform.
- Resolves a regression in the configuration step that was introduced in version 5.4.11.
- Removes build warnings related to Clang 17+ and Boost on macOS.
- Adds the missing hs_version.h header file.
- Addresses various Clang Tidy warnings, improving code quality.
Reference
Full changelog and release notes: https://github.com/VectorCamp/vectorscan/releases/tag/vectorscan%2F5.4.12
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels