summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-04-07 20:14:56 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-04-07 20:14:56 -0700
commit57f7ed87b589c471009726089a574890bb018571 (patch)
treed7f33b4c5591375501f03339dcfa44cbbec95fe9 /arith.c
parent0a1e7693df57971fd3eaf1e97c9f1b1e25634c72 (diff)
downloadtxr-57f7ed87b589c471009726089a574890bb018571.tar.gz
txr-57f7ed87b589c471009726089a574890bb018571.tar.bz2
txr-57f7ed87b589c471009726089a574890bb018571.zip
case macros: reduce consing.
* eval.c (compares_with_eq): New static function. (me_case): Instead of check_fun, call compares_with_eq directly. For the case when we map over check fun, allocate the function just once, outside the loop.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions