Repository navigation
v0.3.0 - xxHash Performance Upgrade
π Performance Improvement - xxHash Migration
What's New
- β‘ Significantly faster duplicate detection using xxHash (XXH3) instead of SHA-256
- π§ Improved performance for large file scans while maintaining accuracy
- π¦ Updated dependencies for better compatibility
Breaking Changes
- Hash output format changed from 256-bit to 64-bit (affects hash display only)
- Internal hash algorithm changed from SHA-256 to xxHash (XXH3)
Features
- β Safe duplicate detection (read-only operation)
- β Size-based pre-filtering for efficiency
- β Recursive directory scanning
- β Cross-platform compatibility (Windows, macOS, Linux)
- β Clear duplicate group reporting
- β Potential space savings calculation
Performance Benefits
xxHash provides significantly faster hashing compared to SHA-256 while maintaining excellent collision resistance for duplicate detection use cases.
Installation
# Download from releases or build from source
git clone https://github.com/Web3NL/file-dedup.git
cd file-dedup
cargo build --releaseUsage
# Basic usage
./target/release/file-dedup /path/to/directory
# Multiple paths
./target/release/file-dedup ~/Documents ~/Pictures
# Verbose output
./target/release/file-dedup -v ~/DownloadsFull Changelog: v0.2.0...v0.3.0