Hi PMario,

The original topic was here:

  https://groups.google.com/forum/#!msg/tiddlywiki/U1ZKK8UIk94/Ee0LGEZiBAAJ

You posted to it as well. Jed made some comments that explained why it was 
happening.

I think this is fairly close to up-to-date:

  https://marxsal.github.io/EODICT/EO-DICT.html

Sorry, there's ONLY 63000 entries.

The tag operator works fine on things for which there aren't a lot of tags 
(like saved filters). 

To see how it runs the old way, you would want to change

   "[contains:tags<listfilter-role>] ...

to something like tag<listfilter-role> . There may be more than one place 
to change.

There was also template code in WordTemplate that now has:

  <$list filter="[all[current]has[en]]">

But I'm pretty sure it originally had 

  <$list filter="[all[current]tag[Vorto]]">


Thanks!

On Thursday, February 13, 2020 at 9:35:26 AM UTC-8, PMario wrote:
>
>
>
> On Thursday, February 13, 2020 at 5:50:22 PM UTC+1, Mark S. wrote:
>>
>>
>>
>> On Thursday, February 13, 2020 at 8:08:07 AM UTC-8, PMario wrote:
>>>
>>> That shouldn't be the case. see info above.
>>>  
>>>
>>>> When I tried to make a TW with 37000 vocabulary entries, it slowed to a 
>>>> standstill because the tag operator apparently isn't optimized for large 
>>>> numbers of tagged tiddlers. It turned out to be faster to do a search in 
>>>> the tag list field, which is surprising.
>>>>
>>>
>>> It would be interesting to know the filter strings you used and how the 
>>> tiddler / tag structure looked like. 
>>> Latest TWs have a $tw.perf.log() function, which can give detailed 
>>> info, in the dev-tools if performance-instrumentation is enabled. ... 
>>>
>>> -mario
>>>
>>
>> It wasn't something convoluted, if that's what you're getting at.
>>
>
> No. I was just interested in the structure. 
>  
>
>> It was a simple tag[xxx] functionality that slowed to a crawl when there 
>> were thousands of tiddlers tagged. Replacing the tag operator with a search 
>> operator improved performance. There's no real hierarchy -- just a handful 
>> of tags to indicate that a tiddler is word, and what kind of functionality 
>> it has (adverb, verb, etc.)  It was surprising that the tag operator 
>> performed so poorly.
>>
>
> Yes, and it would be interesting why. 
>  
>
>> It's not something that I want to recreate. I now have 72000 entries, and 
>> get reasonable performance on a tablet -- but I don't use the tag operator.
>>
>
> So you have about 72k tiddlers and most of them are tagged: word ... right?
> The set of words is equally typed with parts of speech 
> <https://simple.wikipedia.org/wiki/Parts_of_speech> ... ?? ... So may be 
> 20% 20% 15% 15% 10% 10% 5% 5% of tiddlers are tagged different?
>
> Does the tiddler text contain links?
>
> Would this be a schema, which I could do some tests?
>
> -mario
>
>

-- 
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/f65071ae-70df-4a4a-93b6-778c57dfd62a%40googlegroups.com.

Reply via email to