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/fd9c69b5-fe26-455e-9c61-64118cbbca04n%40googlegroups.com.

Reply via email to