From 6d831fa7a8c50e15424814fd2be1dd3951e06a4f Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 4 Sep 2023 11:19:34 +1000 Subject: Don't reuse iterators across page fetches This was done for performance reasons, but performance seems okay without it, and it introduces a bunch of memory management headaches. --- src/database/include/database.hpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/database/include/database.hpp') diff --git a/src/database/include/database.hpp b/src/database/include/database.hpp index 559405cb..00704a5f 100644 --- a/src/database/include/database.hpp +++ b/src/database/include/database.hpp @@ -33,7 +33,6 @@ namespace database { template struct Continuation { - std::shared_ptr> iterator; std::string prefix; std::string start_key; bool forward; -- cgit v1.2.3