diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-06-19 06:41:43 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-06-19 06:41:43 -0700 |
commit | 5b9727bbd85793fe9fa280b621ca2af7f25a7417 (patch) | |
tree | 17eb9ddc91235453150179e5b80099e20e43ae50 /autoload.c | |
parent | fdbe06cd26523f3ccc7670146a696a88e8c7fb87 (diff) | |
download | txr-5b9727bbd85793fe9fa280b621ca2af7f25a7417.tar.gz txr-5b9727bbd85793fe9fa280b621ca2af7f25a7417.tar.bz2 txr-5b9727bbd85793fe9fa280b621ca2af7f25a7417.zip |
compiler: TCO: redundant code handling optionals.
* stdlib/compiler.tl (compiler comp-tail-call): Throw away
the code generated by lambda-apply-transform for doing
defaulting of optionals. The function already contains code
to do that, right at the top where the tail call jumps.
defaulting optionals twice is not just a waste of time, but
can evaluate twice the expressions which provide the default
values.
Diffstat (limited to 'autoload.c')
0 files changed, 0 insertions, 0 deletions