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:
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user