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 cb8d7ea commit 06e743cCopy full SHA for 06e743c
regex-automata/src/nfa/thompson/nfa.rs
@@ -1185,6 +1185,7 @@ impl NFA {
1185
+ self.0.states.len() * size_of::<State>()
1186
+ self.0.start_pattern.len() * size_of::<StateID>()
1187
+ self.0.group_info.memory_usage()
1188
+ + self.0.start_look_behind.len() * size_of::<StateID>()
1189
+ self.0.memory_extra
1190
}
1191
@@ -1276,7 +1277,7 @@ pub(super) struct Inner {
1276
1277
/// This is needed to initialize the table for storing the result of
1278
/// look-around evaluation.
1279
lookaround_count: usize,
- /// Contains the start states for each of the look-behind subexpressions.
1280
+ /// Contains the start state for each of the look-behind subexpressions.
1281
start_look_behind: Vec<StateID>,
1282
/// Heap memory used indirectly by NFA states and other things (like the
1283
/// various capturing group representations above). Since each state
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments