cubicweb #1672022 optimize hooks selection [resolved]
prune hooks when multiple entities are concerned by a hm.call_hooks()
the idea is to make a first pass over all the hooks in the registry and to mark put some of them in a disabled list. The disabled hooks are the one which:
Only hooks with a simple selector or an AndSelector of simple selectors (is_instance and match_rtype) are considered for disabling.
|closed by||#d240cff2d8ba [hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)|