- Introduced MEMORY_TRADEOFFS.md to explain memory vs deduplication trade-offs in anagram generation. - Added PERFORMANCE.md detailing optimizations for handling large volumes of anagram generation efficiently. - Created USAGE.md for comprehensive usage instructions, including installation, basic commands, and advanced generation modes. - Enhanced generator with streaming and batch processing capabilities for improved memory management. - Implemented quick hashing for deduplication to reduce memory footprint. - Updated main.rs to support new command-line arguments for streaming and batch modes. - Added tests to ensure letter removal maintains minimum word length and to verify anagram sorting functionality.
21 lines
326 B
TOML
21 lines
326 B
TOML
[package]
|
|
name = "anagram-generator"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
authors = ["Rawleenc"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
rand = "0.8"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.5"
|
|
|
|
[[bin]]
|
|
name = "anagram-generator"
|
|
path = "src/main.rs"
|
|
|
|
[[bench]]
|
|
name = "generation_benchmark"
|
|
harness = false
|