File: src/debugger/breakpoint.rs — BreakpointManager::remove_by_id
The method does a full linear scan of all breakpoints to find one by id. While unlikely to matter today, the VS Code DAP adapter may register many source breakpoints at once. A secondary HashMap<id -> function> would make this O(1).
Labels: performance, good-first-issue
File:
src/debugger/breakpoint.rs—BreakpointManager::remove_by_idThe method does a full linear scan of all breakpoints to find one by
id. While unlikely to matter today, the VS Code DAP adapter may register many source breakpoints at once. A secondaryHashMap<id -> function>would make this O(1).Labels: performance, good-first-issue