diff options
author | Andy Wingo <wingo@pobox.com> | 2020-01-14 09:39:28 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2020-01-14 09:39:28 +0100 |
commit | b6dfc84fd4b2be4db9199b86cf6607a10b2ecf99 (patch) | |
tree | ecdc52ac3c655ab70516c4faf4d9c7f4b4ad4605 /am | |
parent | b47bf2434c656eb7fb6be0894dac3bea8b53ac05 (diff) | |
download | guile-b6dfc84fd4b2be4db9199b86cf6607a10b2ecf99.tar.gz |
Declarative variables optimization limits eta-expansion
* module/language/tree-il/letrectify.scm (compute-procedures-without-identity):
(letrectify): Only eta-expand lambda references that appear outside
the operator position more than once. This should restore peoples'
expectations that (eqv? f f) without penalizing optimization.
Diffstat (limited to 'am')
0 files changed, 0 insertions, 0 deletions