Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293926

Skip module_invoke/module_hook in calling hook_watchdog (excessive function_exist)

$
0
0

Motivation: speed up watchdog calls

watchdog uses module_implements, which is totally cached and knows that module_hook exists. module_invoke goes and calls module_hook which does another function_exists.

Since already know the function exists, how about just calling the function?


Viewing all articles
Browse latest Browse all 293926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>