Thanks Eric,

 I will and notify you!
By the way, We need to store the whole hierarchical list dynamically in a 
variable and then take care of what is in $:/HistoryList
and then highlight the entry in the TOC tree! I don't know any way to 
measure the impact of each step.

--Mohammad

P.S: As I noted already the core TOC is not very faster than toc-tree when 
it comes to 1000 tiddler!


On Monday, January 27, 2020 at 1:21:53 PM UTC+3:30, Eric Shulman wrote:
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4bfedaed-5f46-4ea3-954d-b75e514253ad%40googlegroups.com.

Reply via email to