rsonquery / rsonpath

Blazing fast JSONPath query engine written in Rust.
https://rsonquery.github.io/rsonpath/
MIT License
45 stars 7 forks source link

[DRAFT] AVX512 implementation for classification/structural #520

Open MarcinMordecki opened 2 months ago

MarcinMordecki commented 2 months ago

Experimental usage of AVX512 in classification/structural part of rsonpath-lib.

To run AVX2 instead of AVX512, go to crates/rsonpath-lib/src/classification/simd.rs and change let highest_simd = if is_x86_feature_detected!("avx512f") && is_x86_feature_detected!("avx512bw") { SimdTag::Avx512 } to let highest_simd = if is_x86_feature_detected!("avx512f") && is_x86_feature_detected!("avx512bw") { SimdTag::Avx2 }