diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 20:14:56 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-04-07 20:14:56 -0700 |
commit | 57f7ed87b589c471009726089a574890bb018571 (patch) | |
tree | d7f33b4c5591375501f03339dcfa44cbbec95fe9 /arith.c | |
parent | 0a1e7693df57971fd3eaf1e97c9f1b1e25634c72 (diff) | |
download | txr-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