MCPcopy Create free account
hub / github.com/LocalCitationNetwork/LocalCitationNetwork.github.io / optimize

Function optimize

lib/vue.js:10705–10714  ·  view source on GitHub ↗

* Goal of the optimizer: walk the generated template AST tree * and detect sub-trees that are purely static, i.e. parts of * the DOM that never needs to change. * * Once we detect these sub-trees, we can: * * 1. Hoist them into constants, so that we no longer need to * create

(root, options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

vue.jsFile · 0.85

Calls 2

markStaticFunction · 0.85
markStaticRootsFunction · 0.85

Tested by

no test coverage detected