Skip to content

Commit ed5ac01

Browse files
committed
conditional import
1 parent f9176d8 commit ed5ac01

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

opteryx/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22
# DO NOT EDIT THIS FILE DIRECTLY
33

4-
__build__ = 1663
4+
__build__ = 1664
55
__author__ = "@joocer"
6-
__version__ = "0.26.0-beta.1663"
6+
__version__ = "0.26.0-beta.1664"
77

88
# Store the version here so:
99
# 1) we don't load dependencies by storing it in __init__.py

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opteryx"
3-
version = "0.26.0-beta.1663"
3+
version = "0.26.0-beta.1664"
44
description = "Query your data, where it lives"
55
requires-python = '>=3.11'
66
readme = {file = "README.md", content-type = "text/markdown"}

src/cpp/simd_search.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
77
#include <arm_neon.h>
8+
#elif defined(__AVX2__)
9+
#include <immintrin.h>
810
#endif
911

1012
// SIMD substring search (up to 16 bytes pattern)

0 commit comments

Comments
 (0)