mirror of
https://github.com/apache/doris.git
synced 2026-11-04 07:31:17 +00:00
[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:
1 parent
c1440cb9d6
commit
d01dcaa6bd
3 files changed
+115
-52
No files matched your search
@@ -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}} \
|
||||
|
||||
Reference in new issue
Block a user