We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df0ebca commit 7b9e339Copy full SHA for 7b9e339
regex-automata/src/nfa/thompson/pikevm.rs
@@ -2146,6 +2146,8 @@ impl Cache {
2146
(self.stack.len() * size_of::<FollowEpsilon>())
2147
+ self.curr.memory_usage()
2148
+ self.next.memory_usage()
2149
+ + self.curr_lookaround.memory_usage()
2150
+ + self.next_lookaround.memory_usage()
2151
}
2152
2153
/// Clears this cache. This should be called at the start of every search
0 commit comments