aboutsummaryrefslogtreecommitdiff
path: root/xsig/include
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-27 00:50:35 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-27 00:50:35 -0400
commita2922bb8ba3b9388380f2b48c426680f23298512 (patch)
tree081197989a27e1d69cb42e12bac1eb40df33140a /xsig/include
parent617adf4090fbaac3a3b2d943548eeb6516fb9bdd (diff)
downloaddeduper-a2922bb8ba3b9388380f2b48c426680f23298512.tar.xz
1000x performance improvement for loading database.
So huge that it doesn't even sound real. I need to learn to write proper sql.
Diffstat (limited to 'xsig/include')
-rw-r--r--xsig/include/signature_db.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xsig/include/signature_db.hpp b/xsig/include/signature_db.hpp
index b98b22a..fc98e6a 100644
--- a/xsig/include/signature_db.hpp
+++ b/xsig/include/signature_db.hpp
@@ -115,6 +115,7 @@ public:
//usually very fast, unless you have a crack ton of duplicates...
void group_similar();
//get all groups, each countained in their own lists.
+ //now no longer returns group with size of 1.
std::vector<std::vector<size_t>> groups_get();
};