add comment about cpu-intensive operation in async context

This commit is contained in:
trinity-1686a
2024-12-20 12:20:35 +01:00
parent 42efc7f7c8
commit ebf4d84553
2 changed files with 6 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ fn match_range_start<S, A: Automaton<State = S>>(
automaton: &A,
mut state: S,
) -> bool {
// case [abcdgj, abcpqr], `abcd` is already consumed, we need to handle:
// case ]abcdgj, abcpqr], `abcd` is already consumed, we need to handle:
// - [h-\xff].*
// - g[k-\xff].*
// - gj.+ == gf[\0-\xff].*