From 5bd6241c5e057751e2c3342c038a67c5bbabd4d1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 6 Aug 2022 11:12:52 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index a45ec02..bcffdd5 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1,11 +1,6 @@ /********************************************************************** * * -* XXX shoul Doc/About be found from both / and /WikiHome??? -* ...currently / + Doc/About reolves correctly while -* /WikiHome + Doc/About is not found... -* ...this is a questions of subpath search, i.e. when we do not -* find "About" should we search for Doc/About and so on... * XXX wikiword filter seems to act up on / * XXX BUG? /test/wikiword -- produces nested links... * @@ -74,6 +69,11 @@ * - requires the whole list of pages to be in memory * ...need to be independent of the number of pages if at * all possible -- otherwise this will hinder long-term use... +* .paths() should be cached to make all path searches away from +* async waits as we can test quite a number of paths before we +* find a page... +* ...another solution is to offload the search to the store backend +* but this would require the stores to reimplement most of pwiki/path * - * TODO: * - .then() -- resolve when all pending write operations done ???