Avoid using alloca where possible for clo's

This commit is contained in:
Justin Ethier 2019-03-22 13:09:42 -04:00
parent e68fa56f94
commit 5c28ba7730

View file

@ -4,6 +4,7 @@
Features Features
- Improve performance in generated C code by allocating data for closures statically where possible, instead of via `alloca`.
- Speed up `case` expressions by using nested `if` expressions instead of the `memv` primitive to evaluate conditions with more than one constant. The nested expressions have better cache locality and also avoid any additional object allocation or initialization. - Speed up `case` expressions by using nested `if` expressions instead of the `memv` primitive to evaluate conditions with more than one constant. The nested expressions have better cache locality and also avoid any additional object allocation or initialization.
- Allow passing the `'bin` symbol to `Cyc-installation-dir` to return the location of the installation directory for binaries. - Allow passing the `'bin` symbol to `Cyc-installation-dir` to return the location of the installation directory for binaries.