… | |
… | |
656 | decode_he (dec_t *dec, HV *hv) |
656 | decode_he (dec_t *dec, HV *hv) |
657 | { |
657 | { |
658 | // for speed reasons, we specialcase single-string |
658 | // for speed reasons, we specialcase single-string |
659 | // byte or utf-8 strings as keys, but only when !stringref |
659 | // byte or utf-8 strings as keys, but only when !stringref |
660 | |
660 | |
661 | if (expect_true (!dec->stringref)) |
661 | if (ecb_expect_true (!dec->stringref)) |
662 | if (*dec->cur >= 0x40 && *dec->cur <= 0x40 + 27) |
662 | if (*dec->cur >= 0x40 && *dec->cur <= 0x40 + 27) |
663 | { |
663 | { |
664 | I32 len = decode_uint (dec); |
664 | I32 len = decode_uint (dec); |
665 | char *key = (char *)dec->cur; |
665 | char *key = (char *)dec->cur; |
666 | |
666 | |