Make the type constraint classes immutable in
authorDave Rolsky <autarch@urth.org>
Wed, 3 Dec 2008 00:16:46 +0000 (00:16 +0000)
committerDave Rolsky <autarch@urth.org>
Wed, 3 Dec 2008 00:16:46 +0000 (00:16 +0000)
commit3cae4250365181ec0698335869b3dbb024117d18
treea3fb14b5804bbfd0b7d8f71173b59a569d35aafe
parentb8f014e76a52afca09607ff1630ba073d220a8bc
Make the type constraint classes immutable in
Moose::Util::TypeConstraints, just before we make a bunch of constaint
objects for the recipe.

This keeps us from calling the very slow MOP-based accessor methods
while making these objects, which should speed up compilation a bit
(at least it improves the profile ;)
lib/Moose.pm
lib/Moose/Util/TypeConstraints.pm