Hi, I propose the following alternative approach:
* establish a restricted whitelist of global functions for which the performance gain would be noteworthy if there wasn’t any need to look at local scope first; * for those functions, disallow to define a function of same name in any namespace, e.g.: https://3v4l.org/RKnZt That way, those functions could be optimised, but the current semantics of namespace lookup would remain unchanged. —Claude