Hi aSpex

>  i want get tiddlers that tagged by *sample_tag* and not used as tags
>

> *[tag[sample_tag]] -[tag[sample_tag]tagging[]tags[]tag[sample_tag]]*
>
> It is a bit complex, is n`t it?
>

I'm not sure that it's correct. The "tags" operator overwrites the current
subresult; I think your example is equivalent to:

[tag[sample_tag]] -[tags[]tag[sample_tag]]

That could still be optimised into a single filter operator, but the
question is whether that's worth doing in the core.

Best wishes

Jeremy




>
> четверг, 17 апреля 2014 г., 20:02:34 UTC+4 пользователь Jeremy Ruston
> написал:
>>
>> Hi aSpex
>>
>> > Is there difference in performance in case of many tiddlers between
>> those two examples:
>>
>> Yes, the notag[] operator would likely be faster. But that's always going
>> to be true of comparing a special purpose operator against a string of
>> generic operators.
>>
>> What is your usecase for needing a list of tags that don't have tags?
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>> On Thu, Apr 17, 2014 at 4:31 PM, aSpex Daemon <[email protected]> wrote:
>>
>>> Hi Jeremi
>>>
>>> Thanks for answer.
>>> Is there difference in performance in case of many tiddlers between
>>> those two examples:
>>>
>>>
>>> *[[SomeComplexFilterExpression]notag[]] *
>>> and
>>>
>>> *[[SomeComplexFilterExpression]] -[[SomeComplexFilterExpression]tags[]] *
>>>
>>>
>>> PS: Sorry for my English
>>>
>>> четверг, 17 апреля 2014 г., 19:18:35 UTC+4 пользователь Jeremy Ruston
>>> написал:
>>>>
>>>> Hi aSpec
>>>>
>>>> > By the way, it will be great to have some filter operator to get
>>>> tiddlers that are not used as tags
>>>>
>>>> I think this can already be done. For ordinary tiddlers not used as
>>>> tags:
>>>>
>>>> [all[tiddlers]] -[all[tiddlers]tags[]]
>>>>
>>>> Including shadow tiddlers:
>>>>
>>>> [all[tiddlers+shadows]] -[all[tiddlers+shadows]tags[]]
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>>
>>>> On Thu, Apr 17, 2014 at 4:15 PM, aSpex Daemon <[email protected]>wrote:
>>>>
>>>>> By the way, it will be great to have some filter operator to get
>>>>> tiddlers that are not used as tags
>>>>>
>>>>>
>>>>>  --
>>>>> 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 http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>
>>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to