diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-08 16:38:44 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-02-08 16:39:08 -0500 |
| commit | 711769574e647839677739192698e400529efe75 (patch) | |
| tree | 6262e9aa99123cfdc6c9930020662a4dc9c136eb /include/framework/structure/BufferView.h | |
| parent | 923e27797f6fd3a2b04f1a7a8d990a49374f4c61 (diff) | |
| download | dynamic-extension-711769574e647839677739192698e400529efe75.tar.gz | |
Updated VPTree to new shard/query interfaces
Diffstat (limited to 'include/framework/structure/BufferView.h')
| -rw-r--r-- | include/framework/structure/BufferView.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/framework/structure/BufferView.h b/include/framework/structure/BufferView.h index edf6707..4e3de25 100644 --- a/include/framework/structure/BufferView.h +++ b/include/framework/structure/BufferView.h @@ -123,7 +123,6 @@ public: Wrapped<R> *get(size_t i) { assert(i < get_record_count()); - m_total += (m_data + to_idx(i))->rec.key; return m_data + to_idx(i); } @@ -159,8 +158,6 @@ private: psudb::BloomFilter<R> *m_tombstone_filter; bool m_active; - size_t m_total; - size_t to_idx(size_t i) { size_t idx = (m_start + i >= m_cap) ? i = (m_cap - m_start) : m_start + i; |