Hi Mat,
If we only look at the the <$list line, they are fundamentally different.
The first one assigns a macro-call to the filter variable
The second one assigns a string value to the filter variable.
The first list needs to run 2 filters. 1 in the set widget 1 in the list widget
The second list needs to run only 1 filter .. which shuld be faster as calling a macro and run 2 filters
<$list filter=<<myfilter>> />
<$list filter="""[<myfilter>]"""/>
</$set>
Activate the preview: Parse Tree
You can see the result is very simlar. See the macro-call
Activate the preview: Widget Tree
The result is different.
--------------------
Open close the preview several times ....
F12 ... open dev consule
select the "Console" tab
click the "bin" button to clear the output
type: $tw.perf.log()
which will open the filter log. .... The filter a should be around line 40 .... filter [<myfilter>] is around line 80
This suggests, the second one is faster. ... I'm not sure if the new filter optimizer is responsible for this.
have fun!
mario