An early experiment.
- in parent directory:
git clone https://github.com/TiarkRompf/lms-clean.git
sbt test
- It works in Java v1.8. In Mac OS X:
export JAVA_HOME=$(/usr/libexec/java_home -v1.8)
The rewrite
method of GraphBuilderOpt
in the LMS Backend has the "smart constructor" optimizations that, for example, optimizes read after write for arrays and variables.
The GraphBuilderOpt
is linked through the Adapter
object in the LMS Frontend. Because the linking is through an object as opposed to a trait, it's not easy to change -- so for now, we will experiment with more optimizations by changing LMS Clean directly.