Skip to content

Commit

Permalink
Add int to constants to avoid a lot of unboxing
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 10, 2019
1 parent 9d14819 commit 479c5dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/NQPRoutine.nqp
Expand Up @@ -378,9 +378,9 @@ my knowhow RegexCaptures {
has str $!onlyname;

# Flags to allow us to more quickly figure stuff out.
my $HAS_CAPTURES := 1;
my $HAS_QUANT_LIST_CAPTURES := 2;
my $HAS_QUANT_HASH_CAPTURES := 4;
my int $HAS_CAPTURES := 1;
my int $HAS_QUANT_LIST_CAPTURES := 2;
my int $HAS_QUANT_HASH_CAPTURES := 4;
has int $!flags;

# Form this data structure from a capnames hash.
Expand Down

0 comments on commit 479c5dd

Please sign in to comment.