diff options
Diffstat (limited to 'grammer.h')
-rw-r--r-- | grammer.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -81,8 +81,7 @@ private: return h0 ^ (h1 << 1) ^ (h2 << 2); } }; - std::unordered_set<std::tuple<std::string, size_t, std::string>, TupleHash> m_start_cache; - bool canStartWith(const std::string& non_terminal, size_t variant, const std::string& terminal) const; + std::unordered_map<std::pair<std::string, std::string>, std::vector<size_t>, PairHashSS> m_match_lut; void fillStartCache(); void constructTree(); |