Fuckin' tree thing. Pipe in paths and outputs a pretty tree with colors n' shit. sometimes you just wanna visualize nested shit, and perl was too fucking slow.
it's fast, doesn't allocate like a dickhead, and handles big input without crying.
- Rust 100%
Implements core tree visualization from stdin with 7.5× performance improvement over Perl original. Includes extended styling options and color modes while maintaining backward compatibility with Perl treeify interface. Features: - Core flags: -d, -f, -g, -r, -R, -s, [PATH] - Extended flags: -C (color), -y (style) - Multiple tree styles: normal, compact, vcompact, sideways variants - Color modes: auto, 256, 16, none - Natural sorting via natord crate Performance (1.2M paths, 145MB): - Perl: 55.87s (baseline) - Rust: 7.44s (7.5× faster) Benchmark environment: - CPU: AMD Ryzen 9 3900X (12c/24t) - Kernel: 6.18 - Storage: bcachefs on NVMe Known limitations: - No environment variable support yet - No help text or version flag - Missing shell completions - No man page Next steps: - Add ENV var configuration (TREEIFY_*) - Implement proper help/usage text - Add --version flag - Consider config file support |
||
|---|---|---|
| src | ||
| .gitignore | ||
| BENCHMARK.md | ||
| Cargo.lock | ||
| Cargo.toml | ||