From 7e7fd9f7339eee2f1ae974c662a447532dfb1b1a Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Tue, 26 Mar 2024 16:35:12 -0400 Subject: Updated FSTrie benchmark and some minor fixes --- include/query/pointlookup.h | 4 +++- include/shard/FSTrie.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/query/pointlookup.h b/include/query/pointlookup.h index caaa320..35d38e3 100644 --- a/include/query/pointlookup.h +++ b/include/query/pointlookup.h @@ -97,10 +97,12 @@ public: return output; } - output.append(r[0].rec); + output.push_back(r[0].rec); return output; } } + + return output; } static void delete_query_state(void *state) { diff --git a/include/shard/FSTrie.h b/include/shard/FSTrie.h index 50bf982..95f396f 100644 --- a/include/shard/FSTrie.h +++ b/include/shard/FSTrie.h @@ -61,7 +61,7 @@ public: std::sort(base, stop, std::less>()); for (size_t i=0; i