diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-04-20 06:46:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-04-20 06:46:12 -0700 |
commit | 257c53a6f0aa7b1926376c8e0fbcaec4b6c7a295 (patch) | |
tree | a21e786130e321ac31ab76328e6e89601bc5f303 /txr.1 | |
parent | ca6020cff56c12958b6be1e75fa5fde29557649a (diff) | |
download | txr-257c53a6f0aa7b1926376c8e0fbcaec4b6c7a295.tar.gz txr-257c53a6f0aa7b1926376c8e0fbcaec4b6c7a295.tar.bz2 txr-257c53a6f0aa7b1926376c8e0fbcaec4b6c7a295.zip |
compiler: avoid wasteful substitution via %bin-op%.
* share/txr/stdlib/compiler.tl (%bin-op%): Specify default
value argument to relate so that arguments not found in
%nary-ops% will match to nil. Otherwise the code in
comp-fun-form rewrites all two-argument function calls through
this relation, resulting in a bit of wasted consing.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions