Skip Menu |

This queue is for tickets about the MooseX-Types-DateTime CPAN distribution.

Report information
The Basics
Id: 80085
Status: open
Priority: 0/
Queue: MooseX-Types-DateTime

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: lazy load DateTime objects
Date: Tue, 9 Oct 2012 17:20:44 -0500
To: bugs-moosex-types-datetime [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
lazy loading the classes should improve the compile time performance of moose objects that consume this but don't use all of them. Class::Load should be free since Moose uses it. -- Caleb Cushing http://xenoterracide.com

Message body is not shown because sender requested not to inline it.

On 2012-10-09 15:20:55, XENO wrote: Show quoted text
> lazy loading the classes should improve the compile time performance > of moose objects that consume this but don't use all of them. > Class::Load should be free since Moose uses it.
It doesn't look that straightforward to load modules from within type declarations. We could possibly do this with a Sub::Exporter-like thing that did the 'require' when the export sub is prepared?