perl5
perl5 copied to clipboard
hv.c: Macro to check an HV as being %ENV hash
Previous code would invoke an entire mg_find() call just to check if the given HV happens to have PERL_MAGIC_env. This hardcodes knowledge of the PERL_MAGIC_env type in a lot of places that don't really care about it.