Prebuild lookup structures to reduce UI lag on very large file lists.

This commit is contained in:
2026-02-04 00:18:28 +00:00
parent 0bc2a12cfa
commit 1af6cd82fe
4 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ const documents = computed(() => {
// List the current location (no search)
if (!query) return sorted(
store.document.filter(doc => doc.loc === loc),
store.docsByLoc.get(loc) ?? [],
store.prefs.sortListing,
)