Vpl parse Vue template
and JS expression
at build time to Reduce runtime consumption.
Template like this
<ul>
<li>begin</li>
<li>{{txt}}</li>
<li>end</li>
</ul>
It will be optimized to 3 statements:
"<ul><li>begin</li><li>"
{{txt}}
"</li><li>end</li></ul>"
This will optimize performance, especially when there are many nodes.
Let's add some go features to vpl.
The advantage of go is concurrency, can vpl use it?
YES! Use the <parallel>
component.
Please refer to syntax-parallel