[parenscript-devel] Feature proposal: Optimize away constant arithmetic
vsedach at gmail.com
Sat Jun 16 03:24:48 UTC 2007
This is a feature I'm planning to add to ParenScript that involves
eager evaluation for arithmetic constants, so for example:
(js (+ foo.bar 0)) => "foo.bar;"
(js (+ foo.bar 1 -1)) => "foo.bar;"
(js (+ foo.bar 2 3)) => "foo.bar + 5;"
do constant arithmetic optimizations themselves, so it would speed up
More information about the parenscript-devel