From: Stevan Little Date: Fri, 14 Dec 2007 18:45:53 +0000 (+0000) Subject: 0.49 X-Git-Tag: 0_51~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=30b8af049e80522adce2e3dbbbac960608af8634;p=gitmo%2FClass-MOP.git 0.49 --- diff --git a/Changes b/Changes index 6229c56..59dd764 100644 --- a/Changes +++ b/Changes @@ -1,10 +1,33 @@ Revision history for Perl extension Class-MOP. -0.49 - ~ some doc cleanup ~ - +0.49 Fri. Dec. 14, 2007 + !! Class::MOP now loads ~45% faster !! + !! with XS speedups (thanks konobi) !! + + * Class::MOP + - removed the dependency on B + - added two XS functions (thanks konobi) + - get_code_info($code) which replaces all + the B fiddling we were doing with + faster/leaner XS level fiddling + - check_package_cache_flag($pkg_name) which + returns the PL_sub_generation variable to + be used to help manage method caching. + + NOTE: + In 5.10 or greater this will actually + use the mro::get_pkg_gen instead to give + even more accurate caching information. + blblack++ for that stuff :) + * Class::MOP::Class - added the &subclasses method (thanks rlb) + - added the update_package_cache_flag and + reset_package_cache_flag which help keep + track of when we need to re-fetch the + method map. + - Several small improvements to take advantage + of the new method map caching features 0.48 Mon. Nov. 26, 2007 * Class::MOP::Attribute diff --git a/Makefile.PL b/Makefile.PL index e03177e..85db423 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,6 @@ license 'perl'; requires 'Scalar::Util' => '1.18'; requires 'Sub::Name' => '0.02'; requires 'Carp' => '0'; -requires 'B' => '0'; build_requires 'Test::More' => '0.62'; build_requires 'Test::Exception' => '0.21'; diff --git a/bench/all.yml b/bench/all.yml index e2cf145..13ec57f 100644 --- a/bench/all.yml +++ b/bench/all.yml @@ -5,8 +5,8 @@ - 'MOP::Point3D' - 'MOP::Immutable::Point' - 'MOP::Immutable::Point3D' -# - 'MOP::Installed::Point' -# - 'MOP::Installed::Point3D' + - 'MOP::Installed::Point' + - 'MOP::Installed::Point3D' - 'Plain::Point' - 'Plain::Point3D' benchmarks: