switch the order of the isa checks, for performance improvement
authorKaren Etheridge <ether@cpan.org>
Sat, 17 Sep 2022 18:00:38 +0000 (11:00 -0700)
committerKaren Etheridge <ether@cpan.org>
Sat, 17 Sep 2022 18:13:12 +0000 (11:13 -0700)
commit81fabeee84af8fa3bef787c79c9f452d60aa81c6
tree1566dc82d8614c0f0f9dd039e6a6d050da96e83b
parent1b8487f1e6fad44bd4f63a060f95d3cdd26d27c5
switch the order of the isa checks, for performance improvement

JSON booleans are more likely to be a JSON::PP::Boolean, as that is the result
of the true, false subs in all (current releases) of the three backends
Changes
lib/JSON/MaybeXS.pm