glyph
glyph copied to clipboard
Constant optimization improvements
- [ ] Do not consider unused constants, e.g.
f(x, c0, c1) = c0*x - [ ] Improve caching, e.g.
f(x, c0, c1) = c0*xis equivalent tof(x, c0, c1) = c1*xwith swapedc0andc1
Should not one of c1, c0 be eliminated instead of swapping them?