perf(document): index layer read paths

This commit is contained in:
syntaxbullet
2026-07-04 15:58:38 +02:00
parent 1acfcbe4a5
commit 88208ea1ad
5 changed files with 323 additions and 93 deletions

View File

@@ -4,3 +4,5 @@ export { initialToolState } from "./tools";
export { createInitialAppState, initialEditorState } from "./initial-state";
export type { AppStore, StateListener } from "./store";
export { createAppStore } from "./store";
export type { DocumentReadIndex, IndexedLayerInfo } from "./document-indexes";
export { createDocumentReadIndex, forEachLayerBackToFront, resolveIndexedLayerBounds } from "./document-indexes";