summaryrefslogtreecommitdiffstats
path: root/chksum.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-08-22 02:04:01 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-08-22 02:04:01 -0700
commitceff5513bb6b309d892ff58149ce16f527ce0011 (patch)
treec88a5d3d87b0b04dfb71b42891543267cf111a9e /chksum.c
parent7edaa71c065af361b6a8d5e41a213fb82ed67579 (diff)
downloadtxr-ceff5513bb6b309d892ff58149ce16f527ce0011.tar.gz
txr-ceff5513bb6b309d892ff58149ce16f527ce0011.tar.bz2
txr-ceff5513bb6b309d892ff58149ce16f527ce0011.zip
sub-list: better handling of from value of t.
* lib.c (sub_list): If from is t, then just return nil. Do not reset it to nil in this case. After this we know from is not nil; we don't have to check for this inside one loop. That loop was wastefully iterating over the list in the from == nil case only to calculate nil.
Diffstat (limited to 'chksum.c')
0 files changed, 0 insertions, 0 deletions