diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-18 00:00:07 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-18 00:00:07 -0400 |
commit | f02cb7bf4978ec0fa1eea4ed0b21460b7637d741 (patch) | |
tree | 91d28f7ca46c6fe7cfd41efd63fa2e2fc2b59221 /tests | |
parent | 04f509fd948c03c8b8732ddb6787eea800bdc7f6 (diff) | |
download | deduper-f02cb7bf4978ec0fa1eea4ed0b21460b7637d741.tar.xz |
Add batching for get_signature().
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testdrive_sqlite.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdrive_sqlite.cpp b/tests/testdrive_sqlite.cpp index c9e9aad..66d1996 100644 --- a/tests/testdrive_sqlite.cpp +++ b/tests/testdrive_sqlite.cpp @@ -229,6 +229,7 @@ int main(int argc,char** argv) puts("grouping similar images..."); sdb->group_similar(); + sdb->batch_get_signature_begin(); std::vector<dupe_t> dupes = sdb->dupe_pairs(); for (auto &p : dupes) { @@ -258,6 +259,7 @@ int main(int argc,char** argv) #endif } } + sdb->batch_get_signature_end(); sdb->to_db_file("test.sigdb"); delete sdb; |