ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CBOR-XS/XS.xs
(Generate patch)

Comparing CBOR-XS/XS.xs (file contents):
Revision 1.22 by root, Wed Nov 20 15:05:46 2013 UTC vs.
Revision 1.23 by root, Wed Nov 20 16:19:47 2013 UTC

656decode_he (dec_t *dec, HV *hv) 656decode_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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines