- πΊπΈUnited States nicxvan
Have you tested this recently? Some of them are definitely no longer valid.
Looking at ModuleHandler::invokeAll() (or module_invoke_all() in D7), I see a number of possible optimizations.
$function = $module . '_' . $hook
with $function = $module . $suffix
, where $suffix can be built outside the loop.
isset($result)
with NULL !== $result
.
I played with changes equivalent to these on a Drupal 7 site, where module_invoke_all('permission') got measurably faster.
Real benchmarks have yet to happen.
Active
11.0 π₯
extension system
It may affect performance, and thus requires in-depth technical reviews and profiling.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Have you tested this recently? Some of them are definitely no longer valid.