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

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


Branch: pkgsrc-2020Q4, Version: 0.002003, Package name: p5-MooX-TypeTiny-0.002003, 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.


Master sites: (Expand)

SHA1: df874b551fc702f36426c8ecd691de8dc7b97fa0
RMD160: 4accfd2a0f2a292fcb55e5b89ad46aac716548c8
Filesize: 13.282 KB

Version history: (Expand)