The backlinks filter operator is inherently slow because every tiddler needs to 
be parsed to find all the outgoing links, and then filtered to choose the links 
to the target tiddler. Parsing is a slowish process because it involves 
analysing the tiddler text character by character to find the syntactic 
constructions.

However, the results of parsing are cached for each tiddler until the results 
are invalidated by changes. Thus, the construction that Jed showed with two 
nested usages of the backlinks filter operator won't be much slower than a 
single usage.

Generally, I'd strongly recommend careful measurements to avoid premature 
optimisation.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
http://jermolene.com

> On 3 Jul 2016, at 08:32, Jed Carty <inmyso...@gmail.com> wrote:
> 
> Mark, 
> 
> It wouldn't be hard to make something that does that and me and Jeremy (and 
> others) have discussed adding something like that. The last I heard the 
> problem was getting consistent syntax and then everyone got busy with other 
> work, I am going to add some discussion ideas to the meetup later this month 
> about extending filtering to include all logical operations, which would 
> greatly simplify things like this. . 
> -- 
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
> 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/e1ee5881-4296-4e0d-8c00-5e075319b023%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/3B0E1B1F-E5BB-44F5-B9BA-AEAFF1B1CFFC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to