get_all_methods in immutable memoization list
Yuval Kogman [Fri, 15 Aug 2008 19:03:51 +0000 (19:03 +0000)]
lib/Moose/Meta/Class.pm

index 8cb2411..40269fb 100644 (file)
@@ -390,10 +390,12 @@ sub create_immutable_transformer {
        /],
        memoize     => {
            class_precedence_list             => 'ARRAY',
+           linearized_isa                    => 'ARRAY', # FIXME perl 5.10 memoizes this on its own, no need?
+           get_all_methods                   => 'ARRAY',
+           #get_all_attributes               => 'ARRAY', # it's an alias, no need, but maybe in the future
            compute_all_applicable_attributes => 'ARRAY',
            get_meta_instance                 => 'SCALAR',
            get_method_map                    => 'SCALAR',
-           # maybe ....
            calculate_all_roles               => 'ARRAY',
        },
        # NOTE: