perf: add core_affinity and memmap2 dependencies, switch to edition 2024, and rewrite main.rs with mmap-based parallel file processing

This commit is contained in:
12bitfloat
2025-10-06 11:39:29 +00:00
parent 1cc1df976c
commit 2468b85451
3 changed files with 981 additions and 120 deletions
+12 -4
View File
@@ -1,11 +1,19 @@
[package]
name = "risspam"
version = "0.1.0"
edition = "2021"
[dependencies]
rayon = "1.10.0"
edition = "2024"
[profile.release]
lto = "thin"
panic = "abort"
codegen-units = 1
debug = "line-tables-only"
[dependencies]
rayon = "1.10.0"
memmap2 = "0.9.8"
core_affinity = "0.8.3"
#libc = "0.2.176"
#glommio = "0.9.0"
#monoio = "0.2.4"
#phf = { version = "0.13.1", features = ["macros"] }