mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-26 14:12:10 +08:00
- 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