From f02cb7bf4978ec0fa1eea4ed0b21460b7637d741 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 18 Sep 2022 00:00:07 -0400 Subject: Add batching for get_signature(). --- tests/testdrive_sqlite.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 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; -- cgit v1.2.3