>>>>> "BR" == Bill Ricker <[EMAIL PROTECTED]> writes:
>> Plus it adds the ability to mark a class as "immutable" when you are >> done adding methods, etc. This brings the speed to indistinguishable >> from Mooseless, given the noise in my testing method. Yay, Moose! BR> So "immutable" does what, push the current dispatch table down to the BR> plain old perl symbol table same as if the class was plain old OO ? sounds like a plan. there is a term other dynamic OO langs use called 'finalize'. the concept is that if you finalize a class, it can't be changed at runtime (no new methods, members, attributes, etc.). then you can optimize the hell out of it including using static lookups and compiled things. and any class that inherits or uses it can also know it won't change and be optimized when using it. but there is much more to this optimization than just sticking stuff in the symbol table (which a non-immutable class does too). uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

