MCPcopy Create free account
hub / github.com/alignoth/alignoth / optimize

Method optimize

resources/vega-lite.min.js:9934–9940  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

9932 return n;
9933 }
9934 optimize(e) {
9935 const t = [...this.getNodeDepths(e, 0, new Map()).entries()].sort(
9936 (e, t) => t[1] - e[1],
9937 );
9938 for (const e of t) this.run(e[0]);
9939 return this.modifiedFlag;
9940 }
9941 }
9942 class Md extends jd {
9943 optimize(e) {

Callers 1

omFunction · 0.45

Calls 2

getNodeDepthsMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected