Eric,
Thank you very much for clarification!

Best wishes
Mohammad


On Tue, Aug 3, 2021 at 6:45 PM Eric Shulman <[email protected]> wrote:

> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/3d1a2020-eade-43a1-95fa-6a9c71f6aaf3n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/3d1a2020-eade-43a1-95fa-6a9c71f6aaf3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAV1gMDSN0x5x9i0Cf9aE_n49C_6nXy0poEbRAd%3D7LmTZqA15w%40mail.gmail.com.

Reply via email to