feat: add initial SIMD analysis and io_uring module, drop core_affinity and memmap2 deps
Introduce a new `analyze_simd` function in main.rs using AVX2 256-bit registers for parallel text scanning, replacing the previous sequential analysis path. Add a stub `uring` module for future async I/O integration. Remove `core_affinity` and `memmap2` crate dependencies from Cargo.toml and Cargo.lock, along with their associated `libc`, `num_cpus`, `hermit-abi`, and `winapi` transitive dependencies. Comment out `mimalloc` and `io-uring` crate references. Uncomment file reading timing instrumentation and add a `bench_rust_only` Makefile target for direct benchmark execution.
This commit is contained in:
@@ -33,6 +33,8 @@ run: run_spam wl run_not_spam
|
||||
run_risspam: run_spam_risspam run_not_spam_risspam
|
||||
|
||||
bench_rust: build_risspam benchmark_only
|
||||
bench_rust_only: build_risspam
|
||||
cd 12bitfloat_rust/risspam && time ./target/release/risspam ../../books/*.txt
|
||||
|
||||
format:
|
||||
clang-format *.c *.h -i
|
||||
|
||||
Reference in New Issue
Block a user