Improve get_method/has_method/add_method not to use get_method_map.
authorgfx <gfuji@cpan.org>
Fri, 10 Jul 2009 03:26:44 +0000 (12:26 +0900)
committergfx <gfuji@cpan.org>
Fri, 10 Jul 2009 03:26:44 +0000 (12:26 +0900)
commit3cf189f335625b5ceb9ba49895ee9c78af07dbaa
tree4b603ac8522479432e5de28b9bf94e75bc9d76dc
parent779ca3d2a597fc9aeecc94548abd6bb153e92048
Improve get_method/has_method/add_method not to use get_method_map.

Normal method objects, or implicit methods, are no longer created until required.
bench/loading-benchmark.pl says this makes loading time 10% faster.
lib/Class/MOP/Class.pm
lib/Class/MOP/Method.pm
t/010_self_introspection.t