Optimizing Compiler
sxzz opened this issue · 1 comments
sxzz commented
-
children985d4c7- don't walk the entire dom tree
const node = children(node, ...paths)- e.g
const n1 = children(t0, 1, 2, 3)->t0.childNodes[1].childNodes[2].childNodes[3]
- hoist
templated10a1a3 - template abbreviation of end tag
- effect grouping [needs benchmark]
- group by expression?
- group by node?
- simplify v-on 38865c7
- check undefined
- put
withKeys/withModifersinside ofon
- grouping multiple interpolations 14813ce 68b0caf
- simplify renderEffect with a single statement 9ffd4b6
_renderEffect(() => { _setText(n9, _ctx.remaining) })
- return Fragment directly, without inserting/appending/prepending 99da2e5