Files
clash-proxy/src-tauri/src/core
Tunglies b97f0734d0 Optimize hotkey management to reduce lock contention and improve performance
- Minimize mutex lock durations in update() by processing data outside critical sections
- Pre-allocate collections to avoid unnecessary reallocations
- Replace forEach-style loops with more efficient for loops
- Add defensive null checks when accessing app_handle
- Improve error handling with more robust Option unwrapping
- Enhance code readability with descriptive comments
b97f0734d0 · 2025-03-15 17:52:14 +08:00
History
..
2025-03-14 13:31:34 +08:00
2023-12-14 13:03:52 +08:00