On Sunday, January 26, 2020 at 7:35:01 PM UTC-8, Mohammad wrote:
>
> Now the flexible TOC generator works fine and its outliner is really 
> helpful.
> My question is how to improve the performance?
>

I've made a small change to TiddlyTools/TOC/Macros that *might* result in 
better performance:

Instead of using 
[title[$here$]tagging[]]
to drive the tree-walking recursion, I now use 
[tag[$here$]]

While this is logically the same, the performance of [tag[...]] should be 
better since, as of 5.1.20, Jeremy added:
*"pluggable index modules to accelerate the ... tag Operator (in tests on a 
wiki with 60K tiddlers, startup time is reduced by 25% with these 
optimisations, and refresh time is reduced by a factor of three.)"*

Update your copy of TiddlyTools/TOC/Macros and re-run your 1000 tiddler 
test case and let me know if it shows any improvement.

-e



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/47e47852-4ee2-4c86-966b-fac2c84b8f0d%40googlegroups.com.

Reply via email to