Changes
refactor(worker): implement single-pass filesystem traversal
- Add ScanStats struct to aggregate file count, logical size, and paths - Implement scan_directory_optimized for single-pass directory scanning - Refactor batch_process_worker to use optimized scanner for discovery - Refactor single_item_worker to use optimized scanner - Update calculate_folder_logical_size to use single-pass approach - Remove redundant walk_directory_win32_count function - Remove redundant walk_directory_win32_logical_size function - Remove redundant walk_directory_win32_collect function This eliminates O(N * Passes) I/O overhead by gathering all metadata (count, logical size, file paths) in a single traversal instead of multiple separate passes over the filesystem.
Build Information
- Commit: 142cb80
- Author: IRedDragonICY
- Platform: Windows x64
- Binary Size: 131.5 KB (UPX compressed)
Installation
- Download compactrs.exe from assets below
- Run as Administrator (required for WOF compression)
- Drag and drop files or folders to compress
Checksum
SHA256: 9C7D579A903E5068BED6F27064A26573D062B8E88716DDCA9087E4BDE05691F3