[opt](reader) Use memchr to speed up BaseTextLineReaderContext.find_lf_crlf_line_sep function (#54957)

### What problem does this PR solve?

Use memchr to speed up BaseTextLineReaderContext.find_lf_crlf_line_sep
function.

---------

Co-authored-by: Zhiguo Wu <wuzhiguo@linaro.org>
This commit is contained in:
Zhiguo WuandZhiguo Wu authored and GitHub committed 2025-08-24 03:20:19 +08:00
1 parent c1440cb9d6
commit d01dcaa6bd
3 files changed
+115 -52

No files matched your search

+5
View File
@@ -211,6 +211,10 @@ if [[ -z "${USE_AVX2}" ]]; then
USE_AVX2='ON'
fi
if [[ -z "${ARM_MARCH}" ]]; then
ARM_MARCH='armv8-a+crc'
fi
if [[ -z "${USE_UNWIND}" ]]; then
if [[ "$(uname -s)" != 'Darwin' ]]; then
USE_UNWIND='ON'
@@ -242,6 +246,7 @@ cd "${CMAKE_BUILD_DIR}"
-DUSE_UNWIND="${USE_UNWIND}" \
-DUSE_JEMALLOC=OFF \
-DUSE_AVX2="${USE_AVX2}" \
-DARM_MARCH="${ARM_MARCH}" \
-DEXTRA_CXX_FLAGS="${EXTRA_CXX_FLAGS}" \
-DENABLE_CLANG_COVERAGE="${DENABLE_CLANG_COVERAGE}" \
${CMAKE_USE_CCACHE:+${CMAKE_USE_CCACHE}} \