Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 11a375943155d9ec432d3348ddb0a120b5d6cea1
https://github.com/Perl/perl5/commit/11a375943155d9ec432d3348ddb0a120b5d6cea1
Author: TAKAI Kousuke <[email protected]>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
M pp.c
M pp_hot.c
M sv.c
Log Message:
-----------
Use NEGATE_2IV, NEGATE_2UV and ABS_IV_MIN macros thoroughly
Negating IV or UV with countermeasures for signed integer overflow are
common idiom in various pp_* functions and SV conversion functions.
Adopting macros NEGATE_2IV, NEGATE_2UV and ABS_IV_MIN
(added in b9b8c7d2e8567b5c6652a643b4a44af22e06f2bc) will simplify
the source and make the compiled code (slightly) smaller and faster
by eliminating the need of special treatment of IV_MIN.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications