alnewkirk/Bubblegum — pull request #2 by tobyink (2014-08-18 13:21:07+00:00)
Title: improved efficiency for some constraint stuff

Bubblegum currently creates `sub { ... }` and `eval { ... }` wrappers around type constraints where Type::Tiny offers methods that already do the same thing. (And are in some cases available in XS, so much faster.)

* `isa_arrayref` is about eight times faster
* `isa_fh` is about twelve times faster

This PR uses the native Type::Tiny equivalents.