summaryrefslogtreecommitdiffstats
path: root/mpi-patches/mpi-to-double
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-06-19 06:41:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2025-06-19 06:41:43 -0700
commit5b9727bbd85793fe9fa280b621ca2af7f25a7417 (patch)
tree17eb9ddc91235453150179e5b80099e20e43ae50 /mpi-patches/mpi-to-double
parentfdbe06cd26523f3ccc7670146a696a88e8c7fb87 (diff)
downloadtxr-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 'mpi-patches/mpi-to-double')
0 files changed, 0 insertions, 0 deletions