FreeBSD.software
Home/devel/p5-MooX-TypeTiny

p5-MooX-TypeTiny

0.002003devel

Optimized type checks for Moo + Type::Tiny

This module optimizes Moo type checks when used with Type::Tiny to perform better. It will automatically apply to isa checks and coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as normal. This is done by inlining the type check in a more optimal manner that is specific to Type::Tiny rather than the general mechanism Moo usually uses. With this module, setters with type checks should be as fast as an equivalent check in Moose.

$pkg install p5-MooX-TypeTiny
metacpan.org/release/MooX-TypeTiny
Origin
devel/p5-MooX-TypeTiny
Size
12.1KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
3 packages
Required by
1 packages

Dependencies (3)

Required By (1)