Security Verification
Note: UPX-compressed binaries may trigger false positives in some antivirus engines.
Changes
perf: implement Handle Reuse and Privilege Caching optimization
- Make enable_backup_privileges() public for thread-level caching - Add get_wof_algorithm_from_handle() to separate handle creation from logic - Add smart_compress() that opens file once and reuses handle for detection + compression - Call enable_backup_privileges() once per consumer thread instead of per-file - Update try_compress_with_lock_handling to use smart_compress Reduces syscalls from 2+ per file to 1, and privilege adjustments from per-file to per-thread.
Build Information
- Commit:
f152a022e7dee00ee96215b94a662b23a47681dd - Author: IRedDragonICY
- Platform: Windows x64
- Binary Size: 156.5 KB (UPX compressed)
- Rust Toolchain: Stable
Installation
- Download
compactrs.exefrom assets below - Run as Administrator (required for WOF compression)
- Drag and drop files or folders to compress
Checksum
SHA256: 0442D1CF61922C8E04BAF0D029EA48E0E018C07C85D78055FC52320BBA53AA9F
Verify integrity:
(Get-FileHash .\compactrs.exe -Algorithm SHA256).Hash -eq "0442D1CF61922C8E04BAF0D029EA48E0E018C07C85D78055FC52320BBA53AA9F"