Debounce UI Updates on File Switches (Medium Value, Low Risk)
File/Line: TableComponent.svelte:55-65
Description: The file-open event handler resets state immediately; increase the setTimeout delay (e.g., to 300ms) or use a proper debouncer to batch rapid switches.
Why: Rapid file switching (e.g., via keyboard) causes unnecessary re-renders and algorithm calls. Debouncing improves perceived UI smoothness. Low risk; existing timeout just needs tuning.