Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1e3b3238f23137440041d8883e041e4da74876f5
      
https://github.com/Perl/perl5/commit/1e3b3238f23137440041d8883e041e4da74876f5
  Author: TAKAI Kousuke <62541129+t-...@users.noreply.github.com>
  Date:   2024-04-13 (Sat, 13 Apr 2024)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  sv.c: Slightly optimize IV range check in S_sv_2iuv_common()

The code was like "iv != IV_MIN && CONST > abs(iv)", but more
straightforward equivalent "-(CONST - 1) <= iv && iv <= (CONST - 1)"
does not require special treatment of IV_MIN and will be compiled to
a bit better code (lesser total number of comparisons).



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to