Step 200: startup and performance improvements

This commit is contained in:
Bill
2026-02-10 05:22:46 -07:00
parent 02063766a8
commit 2fa307ef2c
9 changed files with 162 additions and 21 deletions

View File

@@ -372,7 +372,8 @@ static void renderEditorPanel(EditorState& state) {
state.symbolsPending = false;
}
if (state.analysisPending && (now - state.analysisLastChange) > 0.5) {
double diagDelay = state.settings.getDiagnosticsDebounceMs() / 1000.0;
if (state.analysisPending && (now - state.analysisLastChange) > diagDelay) {
if (state.isStructured()) {
auto result = state.pipeline.run(state.active()->editBuf,
state.active()->language,