- Disabled 'Add Files', 'Clear List', 'Compress', and 'Remove' buttons when tasks are running.
- Added 'IsComputing' state to CreateHashViewModel.
- Added confirmation dialog on application exit if tasks are running.
- Added specific message box and log for cancelled/timed-out tasks.
- Extended MessageBoxHelper to support confirmation dialogs.
- Added new localization keys for exit confirmation and cancellation messages.
Replaces the O(N^2) linear lookup in the `AddFiles` loop with an O(1) HashSet lookup. This significantly improves performance when adding a large number of files, reducing the time complexity from quadratic to linear.
Benchmark results (simulated):
- Baseline (20k items): ~2700ms
- Optimized (20k items): ~5ms