diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-12-02 06:45:25 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-12-02 06:45:25 -0800 |
commit | 20aea3056274d54e32247061cbe3f0ebb71e9992 (patch) | |
tree | ebd47042b748a50b482875b2870b0d79b6f466f4 /ChangeLog | |
parent | 980a1c1d78d838bbc13e90053ba90e02671878ae (diff) | |
download | txr-20aea3056274d54e32247061cbe3f0ebb71e9992.tar.gz txr-20aea3056274d54e32247061cbe3f0ebb71e9992.tar.bz2 txr-20aea3056274d54e32247061cbe3f0ebb71e9992.zip |
debug_check calls are the culprit triggering lookahead
in lazy lists. Changing the semantics of the data argument
so that it can just be the list.
* debug.c (debug): If data is a cons, then replace it with
the first item.
* match.c (match_files): Pass c.data to debug_check, rather
than the value of if2(consp(c.data), car(c.data)) which accesses
car(c.data) whether or not we are debugging.
(match_fun): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2013-12-02 Kaz Kylheku <kaz@kylheku.com> + + debug_check calls are the culprit triggering lookahead + in lazy lists. Changing the semantics of the data argument + so that it can just be the list. + + * debug.c (debug): If data is a cons, then replace it with + the first item. + + * match.c (match_files): Pass c.data to debug_check, rather + than the value of if2(consp(c.data), car(c.data)) which accesses + car(c.data) whether or not we are debugging. + (match_fun): Likewise. + 2013-12-01 Kaz Kylheku <kaz@kylheku.com> Steps toward fixing an issue: lazy list readahead. |