Skip to content

Commit f90d4ba

Browse files
committed
fix(perf): update stale parseFilesWasmForBackfill docstring to reference threshold constant
The secondary docstring still described the old 16-value rationale ("engine-parity drop sizes"). Replace with a pointer to INLINE_BACKFILL_THRESHOLD where the full rationale now lives.
1 parent fd4ffd1 commit f90d4ba

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/domain/parser.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,8 +1253,7 @@ async function parseFilesWasmInline(
12531253
/**
12541254
* Backfill helper: small batches use the inline (main-thread) path; larger
12551255
* batches keep the worker-pool isolation against tree-sitter WASM crashes
1256-
* (#965). Threshold matches typical engine-parity drop sizes (a few fixture
1257-
* files in one or two languages).
1256+
* (#965). See INLINE_BACKFILL_THRESHOLD for threshold rationale.
12581257
*
12591258
* `opts.symbolsOnly` skips the AST/complexity/CFG/dataflow visitors in the
12601259
* worker (and their result serialization across the thread boundary) for

0 commit comments

Comments
 (0)