[Jifty-commit] r3355 - jifty/trunk/lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jun 4 23:12:02 EDT 2007


Author: clkao
Date: Mon Jun  4 23:12:01 2007
New Revision: 3355

Modified:
   jifty/trunk/lib/Jifty/DateTime.pm

Log:
document why the validate hack exists.

Modified: jifty/trunk/lib/Jifty/DateTime.pm
==============================================================================
--- jifty/trunk/lib/Jifty/DateTime.pm	(original)
+++ jifty/trunk/lib/Jifty/DateTime.pm	Mon Jun  4 23:12:01 2007
@@ -17,6 +17,8 @@
 =cut
 
 BEGIN {
+    # we spent about 30% of the time in validate during 'require
+    # DateTime::Locale' which isn't necessary at all
     require Params::Validate;
     no warnings 'redefine';
     local *Params::Validate::validate = sub { pop @_, return @_ };


More information about the Jifty-commit mailing list