Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Constant optimization improvements #29

Open
2 tasks
Ohjeah opened this issue May 10, 2017 · 1 comment
Open
2 tasks

Constant optimization improvements #29

Ohjeah opened this issue May 10, 2017 · 1 comment

Comments

@Ohjeah
Copy link
Contributor

Ohjeah commented May 10, 2017

  • Do not consider unused constants, e.g. f(x, c0, c1) = c0*x
  • Improve caching, e.g. f(x, c0, c1) = c0*x is equivalent to f(x, c0, c1) = c1*x with swaped c0 and c1
@markusabel
Copy link
Contributor

Should not one of c1, c0 be eliminated instead of swapping them?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants