P
Painbaker
Guest
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...