Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: optimize spawn cleanup removing redundant iteration (opentibiab…
…r#2913) This improves efficiency by avoiding an intermediate list for removal, saving time and memory. The map is traversed only once, with iterators updated after each removal, making the process more efficient. Additionally, it eliminates redundant lookups by directly modifying the map during iteration.
- Loading branch information