./devel/p5-MooX-TypeTiny, Optimized type checks for Moo + Type::Tiny

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q2, Version: 0.001004, Package name: p5-MooX-TypeTiny-0.001004, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Master sites:

SHA1: 75c615ab33238d9af4e64b649dd721d1fc621c0e
RMD160: ca303f306e4aed4a52f94b2fee058c10fd1585ca
Filesize: 12.015 KB

Version history: (Expand)