mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
337771f83b
This is a micro-optimization, but IMHO it's necessary. The AF parser code is executed for every active filter, for every edit/move/deletion/accountcreation. In PHP, foreach is usually faster than array_map. Especially in the case of variadic functions potentially taking hundreds of strings, foreach will consume less time. Bug: T234427 Change-Id: I1beedf419a6637a9a3dd668635645df950ceda21 |
||
---|---|---|
.. | ||
api | ||
pagers | ||
parser | ||
special | ||
Views | ||
AbuseFilter.php | ||
AbuseFilterChangesList.php | ||
AbuseFilterHooks.php | ||
AbuseFilterModifyLogFormatter.php | ||
AbuseFilterPreAuthenticationProvider.php | ||
AbuseFilterRightsLogFormatter.php | ||
AbuseFilterRunner.php | ||
AbuseFilterSuppressLogFormatter.php | ||
AbuseFilterVariableHolder.php | ||
AbuseLogHitFormatter.php | ||
AFComputedVariable.php | ||
TableDiffFormatterFullContext.php |