diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-02-13 01:30:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:12:14 +0300 |
commit | 479a21cb05667ba3380f818bd7614e152a495372 (patch) | |
tree | 8552bd314215f9a041334337e4be5cac1422e60a /indexer/interval_index.hpp | |
parent | 2d794703fdd58db576ae43a25cc2660494eacaf2 (diff) |
Add Clear() method to Query, which allows to use a single query multiple times. This saves processor time on initialization / de-initialization of caches.
Diffstat (limited to 'indexer/interval_index.hpp')
-rw-r--r-- | indexer/interval_index.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/interval_index.hpp b/indexer/interval_index.hpp index 6153e5207c..49ffa06847 100644 --- a/indexer/interval_index.hpp +++ b/indexer/interval_index.hpp @@ -43,6 +43,8 @@ public: class Query { + public: + void Clear() {} private: friend class IntervalIndex; vector<char> m_IntervalIndexCache; |