diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2011-12-14 14:46:38 +0100 |
---|---|---|
committer | Adriaan Moors <adriaanm@gmail.com> | 2011-12-24 17:37:07 +0100 |
commit | 0be2888938098f26a59115550073dde7f5dd7bd1 (patch) | |
tree | 0fa9bf538ebd80427d2093e58287c5a3b6d5ad9d /test/files | |
parent | e0b8877cd916dca3b37fd39e1376bf0ca0f11082 (diff) | |
download | scala-0be2888938098f26a59115550073dde7f5dd7bd1.tar.gz scala-0be2888938098f26a59115550073dde7f5dd7bd1.tar.bz2 scala-0be2888938098f26a59115550073dde7f5dd7bd1.zip |
[vpm] better codegen, especially for alternatives (suggested by Tiark)
factored out some of the optimizing codegen that had snuck into treemakers (guardtreemaker)
removed `caseResult`, back to just `one`
no longer emitting intermediate `one`s (using guard instead -- when not optimizing)
so uncurry can't accidentally blow them away (it removes the `one` that represents the case's result,
but should leave intermediate computation alone)
still TODO: reusing-treemakers
sharing prefixes of length 1 helps
inlining suffix of alternatives if small enough
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions