diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-10 06:59:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-10 06:59:53 -0700 |
commit | 326d267efb40ae2f8c750fede3343f68e732e1d3 (patch) | |
tree | 27e606c073c069ee9bd816988068d9b445b1d54c /tests/012 | |
parent | 7e98059bb196082fc649daee698ddddda025499a (diff) | |
download | txr-326d267efb40ae2f8c750fede3343f68e732e1d3.tar.gz txr-326d267efb40ae2f8c750fede3343f68e732e1d3.tar.bz2 txr-326d267efb40ae2f8c750fede3343f68e732e1d3.zip |
diff/isec: reset hash/tree iter instead making new.
* lib.c (seq_iter_rewind): Use hash_reset and tree_reset
to rewind the existing iterator rather than allocating a new
one.
* tests/010/hash.tl: New file, covering uni, diff and isec for
hash tables.
* tests/010/tree.tl: New tests.
Diffstat (limited to 'tests/012')
0 files changed, 0 insertions, 0 deletions