summaryrefslogtreecommitdiffstats
path: root/struct.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-17 21:35:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-17 21:35:49 -0800
commit35e2b84d9a0b65020ba5ee7dcc725f2c25fff537 (patch)
treeec82a44a39ecc5184c1e5a0c804d8bb54449c525 /struct.h
parentb0acad078c68053e38e076c319a8c48ce23c2da6 (diff)
downloadtxr-35e2b84d9a0b65020ba5ee7dcc725f2c25fff537.tar.gz
txr-35e2b84d9a0b65020ba5ee7dcc725f2c25fff537.tar.bz2
txr-35e2b84d9a0b65020ba5ee7dcc725f2c25fff537.zip
compiler: add list construction optimizations.
The raw size of the library compiled files shrinks by over 2% from this optimization, not to mention that some list construction code is faster. * share/txr/stdlib/compiler.tl (compiler comp-fun-form): Reduce common list construction primitives via reduce-lisp function which algebraically transforms to a form with fewer function calls. (reduce-lisp): New function.
Diffstat (limited to 'struct.h')
0 files changed, 0 insertions, 0 deletions