From: Dave Rolsky Date: Sun, 5 Apr 2009 16:25:05 +0000 (-0500) Subject: memoize get_all_attributes, not compute_all_applicable_attributes X-Git-Tag: 0.80_01~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cacc09fa989cfbe02bf2b9a16e5bcf953293379a;p=gitmo%2FClass-MOP.git memoize get_all_attributes, not compute_all_applicable_attributes --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index eaa838d..2cbf3cc 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -999,12 +999,12 @@ sub make_immutable { memoize => { class_precedence_list => 'ARRAY', # FIXME perl 5.10 memoizes this on its own, no need? - linearized_isa => 'ARRAY', - get_all_methods => 'ARRAY', - get_all_method_names => 'ARRAY', - compute_all_applicable_attributes => 'ARRAY', - get_meta_instance => 'SCALAR', - get_method_map => 'SCALAR', + linearized_isa => 'ARRAY', + get_all_methods => 'ARRAY', + get_all_method_names => 'ARRAY', + get_all_attributes => 'ARRAY', + get_meta_instance => 'SCALAR', + get_method_map => 'SCALAR', }, # NOTE: