Add a key flag HVhek_KEYCANONICAL for Perl_hv_common(), which signals that the
authorNicholas Clark <nick@ccl4.org>
Sun, 28 Dec 2008 13:06:42 +0000 (13:06 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 28 Dec 2008 13:06:42 +0000 (13:06 +0000)
commit44b87b5061968d098b3906ca4b5e6f94469c8694
tree26dc3bef2d40170577a915a2d8e0b4aa4559dcf8
parent90acdc2acfdb8c512ef84ee08df225ccf527f635
Add a key flag HVhek_KEYCANONICAL for Perl_hv_common(), which signals that the
key is in canonical form - any key passed encoded in UTF-8 cannot be represented
as bytes, hence the downgrade check can be skipped. Use this internally for
shared hash key scalars, as they are always canonical.
hv.c
hv.h