diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-08 06:44:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-08 06:44:00 -0700 |
commit | f6946d73027e1f3213336a6fd721f4ab85036664 (patch) | |
tree | 8e93cb2cd7026ed149a27495d965065e9ab10eee /ftw.c | |
parent | 6752067fbbeb3813fe991a02c03dd26dd6aae1b0 (diff) | |
download | txr-f6946d73027e1f3213336a6fd721f4ab85036664.tar.gz txr-f6946d73027e1f3213336a6fd721f4ab85036664.tar.bz2 txr-f6946d73027e1f3213336a6fd721f4ab85036664.zip |
Optimize qref and sys:rslot using slet.
* share/txr/stdlib/struct.tl (qref): Use slet instead of let
in expansion so that in the common case of var.(method ...)
the expansion simply produces a form with var evaluated in two
places.
(sys:rslot): Use slet instead of rlet.
* tests/012/struct.tl: Update qref expansion test-cases
to test for the now simpler expansions.
Diffstat (limited to 'ftw.c')
0 files changed, 0 insertions, 0 deletions