From: Yuval Kogman Date: Fri, 15 Aug 2008 19:03:51 +0000 (+0000) Subject: get_all_methods in immutable memoization list X-Git-Tag: 0_55_01~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=723a5102d7cb31ea777b6070ac562f00921e0fa1;p=gitmo%2FMoose.git get_all_methods in immutable memoization list --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 8cb2411..40269fb 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -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: