diff --git a/language-server/src/core/search-engine.ts b/language-server/src/core/search-engine.ts index 70190a39..cd02e8aa 100644 --- a/language-server/src/core/search-engine.ts +++ b/language-server/src/core/search-engine.ts @@ -1652,7 +1652,6 @@ export class SearchEngine implements ISearchProvider { const heap = new MinHeap(maxResults, (a, b) => a.score - b.score); const searchContext = this.prepareSearchContext(query, scope); const preferredIndices = this.getPreferredIndicesForQuery(scope, query, indices); - // ⚡ Bolt: Fast index tracking optimization // Replacing `Set` with a pre-allocated `Uint8Array` prevents massive object allocation // and provides O(1) array access. (~15x faster than Set for 1M items). diff --git a/test_repro.js b/test_repro.js index d3c6bfd5..c411ca85 100644 --- a/test_repro.js +++ b/test_repro.js @@ -1,3 +1,3 @@ setTimeout(() => { - console.log("Still hanging"); + console.log('Still hanging'); }, 2000);