ENH Minor performance enhancement for backtrace.
Don't keep processing when we've found a match.
This commit is contained in:
parent
268a66418b
commit
2b0df58176
|
@ -86,6 +86,7 @@ class Backtrace
|
||||||
$frame['function'] == $fnSpec[1]
|
$frame['function'] == $fnSpec[1]
|
||||||
) {
|
) {
|
||||||
$match = true;
|
$match = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue