RECENT POSTS

P5-moox-typetiny

May 26, 2018

Optimized type checks for Moo + Type::Tiny

This module optimizes Moo type checks when used with TypeTiny to perform better. It will automatically apply to isa checks and coercions that use TypeTiny. Non-TypeTiny isa checks will work as normal.

This is done by inlining the type check in a more optimal manner that is specific to TypeTiny 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.

WWW https//metacpan.org/pod/MooXTypeTiny