Documentation for method install_method_cache

Documentation for method install_method_cache, assembled from the following types:

class Metamodel::Primitives

From Metamodel::Primitives

(Metamodel::Primitives) method install_method_cache

method install_method_cacheMu $type%cache:$authoritative = True)

Installs a method cache, that is, a mapping from method names to code objects. If :authoritative is missing, or set to True, then calls of methods that do not exist in the cache will throw an exception of type X::Method::NotFound. If :authoritative is set to False, the usual fallback mechanism are tried.