- Minor optimization for non-XS type check code for Enum types: if there
are only a small number of valid strings (five or under), check using
eqandoroperators instead of compiling a regexp to check against
them all at once. This can be controlled by passing theuse_eq
attribute to the Type::Tiny::Enum constructor, but is otherwise
automatic.