Cpanel-JSON-XS
view release on metacpan or search on metacpan
/* check the SV for UTF8 and seperate use bytes handling */
if (!has_utf8)
{
if (He_IS_SVKEY(he))
has_utf8 = SvUTF8(HeSVKEY(he));
else
has_utf8 = HeKUTF8(he);
}
}
/* Undefined behaviour when the two iterations do not result in the same count.
With threads::shared or broken tie. The last HEs might be NULL then or we'll
miss some. */
if (i != count)
croak ("Unstable %shash key counts %d vs %d in subsequent runs",
is_tied ? "tied " : "", (int)count, (int)i);
assert (i == count);
/* one key does not need to be sorted */
if (count > 1)
{
( run in 1.106 second using v1.01-cache-2.11-cpan-ceb78f64989 )