ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 28,417
- Points
- 823
Reputation:
The
PHP:
Read more
Continue reading...
XF/AddOn/Manager::coerceAddOnId()
function repeatedly calls XF/AddOn/Manager::getAvailableAddOnIds()
(which is itself relatively slow) and performs repeated array transformations. This leads to a significant performance bottleneck, especially noticeable during active add-on cache rebuilds.PHP:
Code:
protected function coerceAddOnId($addOnId)
{
$addOnIds = $this->getAvailableAddOnIds();
$index = array_search(strtoupper($addOnId), array_map('strtoupper', $addOnIds))...
Read more
Continue reading...