Skip to content

Commit

Permalink
Merge pull request #145 from zmughal-contrib/xs-int
Browse files Browse the repository at this point in the history
XS for Int is faster inline
  • Loading branch information
tobyink authored Sep 8, 2024
2 parents c804cda + 548feb2 commit 39a5c7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Types/Standard.pm
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ my $add_core_type = sub {
# equivalents
$name eq 'Str'
or $name eq 'Bool'
or $name eq 'Int'
or $name eq 'ClassName'
or $name eq 'RegexpRef'
or $name eq 'FileHandle'
Expand Down
2 changes: 2 additions & 0 deletions t/20-modules/Type-Params/strictness.t
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ the same terms as the Perl 5 programming language system itself.
use strict;
use warnings;

BEGIN { $ENV{PERL_TYPE_TINY_XS} = 0; }

use Test::More;
use Test::Fatal;

Expand Down

0 comments on commit 39a5c7e

Please sign in to comment.