perf: bound OneNote TOC hierarchy building

This commit is contained in:
2026-07-22 19:54:23 +02:00
parent b6bb75f976
commit ebcaf436cf
4 changed files with 505 additions and 83 deletions

View File

@@ -194,9 +194,10 @@ async function buildOpenedPackage(
});
}
const treeResult = buildOneNotePackageTree(
const treeResult = await buildOneNotePackageTree(
extraction.extractedEntries,
packagedSections
packagedSections,
options
);
diagnostics.push(...treeResult.diagnostics);