Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make our != rather more efficient.

  • Loading branch information...
commit dcf5ee5e58e18781e9d1413a3fabc3e598e7bd7c 1 parent 50be0ea
@jnthn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 common/NQP/NQPSetting.pm
View
4 common/NQP/NQPSetting.pm
@@ -69,10 +69,10 @@ proto sub &infix:<!=>($x, $y) {
nqp::multi_dispatch_over_lexical_candidates("&infix:<!=>");
}
multi sub &infix:<!=>(NQPInt $x, NQPInt $y) {
- !nqp::equal_ints($x, $y)
+ nqp::logical_not_int(nqp::equal_ints($x, $y))
}
multi sub &infix:<!=>(NQPNum $x, NQPNum $y) {
- !nqp::equal_nums($x, $y)
+ nqp::logical_not_int(nqp::equal_nums($x, $y))
}
sub &infix:<eq>($x, $y) {
Please sign in to comment.
Something went wrong with that request. Please try again.