diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-31 12:03:53 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-31 12:03:53 +0200 |
commit | 3c8e6cc25e414fed9dbaadef6fed9cc7efaf3068 (patch) | |
tree | aace36c9d6ac0302f188f02be55050c82617fbe3 /bnf.h | |
parent | 79fbc8bf495770e4a8b7c66c46acf07f4e47e568 (diff) |
Optimize start lookup
Diffstat (limited to 'bnf.h')
-rw-r--r-- | bnf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -30,3 +30,4 @@ struct PairHash { std::unordered_set<std::pair<std::string, size_t>, PairHash> getEmptyPositions(const BNF& bnf); std::unordered_map<std::string, std::unordered_set<std::pair<std::string, index_t>, PairHash>> reversePosFirst(const BNF& bnf); // like reverseFirstPos, but including variant + |