Optimized type checks for Moo + Type::Tiny

Edit Package perl-MooX-TypeTiny
https://metacpan.org/release/%{cpan_name}

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.

It is hoped that eventually this type inlining will be done automatically,
making this module unnecessary.

Refresh
Refresh
Source Files
Filename Size Changed
MooX-TypeTiny-0.002003.tar.gz 0000013601 13.3 KB
perl-MooX-TypeTiny.spec 0000002370 2.31 KB
Revision 1 (latest revision is 2)
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 1)
osc copypac from project:devel:languages:perl:CPAN-M package:perl-MooX-TypeTiny revision:10
Comments 0
openSUSE Build Service is sponsored by