mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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]
|
||||
) {
|
||||
$match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user