Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

A * B * C + D * E should compile #52

Open
japaric opened this issue May 6, 2015 · 0 comments
Open

A * B * C + D * E should compile #52

japaric opened this issue May 6, 2015 · 0 comments

Comments

@japaric
Copy link
Contributor

japaric commented May 6, 2015

Right now this is Chain + Chain. Evaluating that expression is wasteful because both sides will need to be evaluated.

Instead changes the types such that the expression becomes Chain + Product<SubMat, SubMat>, then we can always eval the LHS, and use that allocation to store the operation.

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

No branches or pull requests

1 participant