diff options
author | Karl Williamson <khw@cpan.org> | 2017-02-11 20:57:36 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-02-11 21:11:13 -0700 |
commit | d34818305fc99020f8962e6d266a233f2f2bbe10 (patch) | |
tree | e4f818399a89290d60584da65655a8d7bc9738a1 /utf8.h | |
parent | 8b78e93627afc5201875e37a37a7b27874b874c5 (diff) | |
download | perl-d34818305fc99020f8962e6d266a233f2f2bbe10.tar.gz |
utf8.h: Add branch prediction
use bytes;
is unlikely to be the case.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -707,7 +707,7 @@ with a ptr argument. /* A Unicode character can fold to up to 3 characters */ #define UTF8_MAX_FOLD_CHAR_EXPAND 3 -#define IN_BYTES (CopHINTS_get(PL_curcop) & HINT_BYTES) +#define IN_BYTES UNLIKELY(CopHINTS_get(PL_curcop) & HINT_BYTES) /* |