On Thursday, 26 January 2017 22:07:39 UTC, Danielo Rodríguez wrote:
>
> Do you use view templates ? If the answer is yes then you probably use the 
> list widget a lot,which iterates all the tiddlers synchronously several 
> times. Add some hundreds of tiddlers and some dozens of lists and it will 
> grow exponentially in time.


I think that you're right - it's related to the use of the list widget, 
though not directly in the context of view templates. Where I'm using a 
list widget to choose between different templates based on tag, I'm using 
[all[current]tag[Foo]] as the filter; if my understanding of 
core/modules/filters/all/current.js and filter evaluation is correct, that 
shouldn't be iterating over all the tiddlers in the store.

On the other hand, elsewhere I have a list widget with a filter expression 
that uses the listed operator, and that certainly will be iterating over 
all tiddlers (given that I can't see any evidence of an inverted index in 
findListingsOfTiddler()), so that's almost certainly causing my woes. It's 
a shame that such operators don't carry health warnings in the 
documentation.

Thanks for your help, and back to the drawing board.

Nick 

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/241d8985-7f85-47bd-8a8d-3e8dcbe9a16f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to