diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-09-07 05:04:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-09-07 05:04:51 -0700 |
commit | 13bba10fb47fa1b3638021120042641464f0c57a (patch) | |
tree | 18bc9d8f26b6f00d5edbc149041e7fadb3001061 /share | |
parent | 337e47fb140beea69af30d3e8f84307ee244afb4 (diff) | |
download | txr-13bba10fb47fa1b3638021120042641464f0c57a.tar.gz txr-13bba10fb47fa1b3638021120042641464f0c57a.tar.bz2 txr-13bba10fb47fa1b3638021120042641464f0c57a.zip |
digits/digpow: recycle temporary conses.
* arith.c (digcommon): Improved termination test in the second
loop to avoid wasteful pop when the list of powers is empty.
Use rcyc_pop to recycle these conses; they will be immediately
reused for building the output list.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions