ENH Minor performance enhancement for backtrace.

Don't keep processing when we've found a match.
This commit is contained in:
Guy Sartorelli 2022-06-23 15:16:46 +12:00
parent 268a66418b
commit 2b0df58176

View File

@ -86,6 +86,7 @@ class Backtrace
$frame['function'] == $fnSpec[1]
) {
$match = true;
break;
}
}
} else {