Saq, what's the benefit of $vars over $set? I've always assumed it was just 
syntax, but it sounds like there might be something else?

On Saturday, January 23, 2021 at 6:41:37 AM UTC-6 [email protected] wrote:

> The former will be marginally faster when the variable assigned by <$set> 
> changes, as the div wont need to be re-rendered.
>
> Also consider using the <$vars> widget unless you specifically need 
> something the <$set> widget can do which <$vars> cannot.
>
> On Saturday, January 23, 2021 at 12:45:34 PM UTC+1 Mat wrote:
>
>> For a non-looping widget, like $set, is there any significant difference 
>> between the following, e.g in terms of logic or performance?
>>
>> <div><$set>...</$set><div>
>>
>> versus
>>
>> <$set><div>...</div></$set>
>>
>> Thanx
>>
>> <:-)
>>
>

-- 
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/37234e33-b5e4-42d6-a512-f89bd0a28438n%40googlegroups.com.

Reply via email to