On Tuesday, August 3, 2021 at 6:29:11 AM UTC-7 Mohammad wrote: > <$set name="out" filter="[tag[HelloThere]] [tag[About]] [tag[Platforms]]"> >> <$list filter="[enlist<out>butlast[]]"><$link/> | </$list> >> <$list filter="[enlist<out>last[]] "><$link/> </$list> >> </$set> >> > > Is it possible to use *subfilter* instead of *enlist* here? Which is > recommended? > > <$set name="out" filter="[tag[HelloThere]] [tag[About]] [tag[Platforms]]"> > <$list filter="[subfilter<out>butlast[]]"><$link/> | </$list> > <$list filter="[subfilter<out>last[]] "><$link/> </$list> > </$set> >
This is almost certainly less efficient than using enlist<out>, as it would still be evaluating the original filter expression (to $set the value of "out"), but then subfilter<out> does another two lookups into the tiddler store, even if all the terms of the filter are literal tiddler names, while enlist<out> is simply copying the already captured literal tiddler names directly into the current expression. -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/3d1a2020-eade-43a1-95fa-6a9c71f6aaf3n%40googlegroups.com.