diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-20 06:30:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-20 06:30:36 -0700 |
commit | 814b1a284fc22feb9444f2195a36c57cbacd84aa (patch) | |
tree | 2d452a5528667d95f7bb71a99d4b84a490f0836e /METALICENSE | |
parent | c636a168cd57ca5db253db7a0907f06621a6991e (diff) | |
download | txr-814b1a284fc22feb9444f2195a36c57cbacd84aa.tar.gz txr-814b1a284fc22feb9444f2195a36c57cbacd84aa.tar.bz2 txr-814b1a284fc22feb9444f2195a36c57cbacd84aa.zip |
Recycle conses in unget-char and read-until-match.
* regex.c (ead_until_match): Use rcyc_pop instead of pop
to move the conses to the recycle list. We know these
are not shared with anything. Adding additional logic
to completely recycle the stack.
* socket.c (dgram_get_char): Use rcyc_pop to
get the character from the push-back list.
* stream.c (stdio_get_char): Likewise.
Diffstat (limited to 'METALICENSE')
0 files changed, 0 insertions, 0 deletions