projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1df7014
)
Teeny optimization in S_hv_magic_check
Andy Lester [Tue, 24 May 2005 11:41:15 +0000 (06:41 -0500)]
Message-ID: <
20050524164115
.GA12027@petdance.com>
p4raw-id: //depot/perl@24626
hv.c
patch
|
blob
|
blame
|
history
diff --git
a/hv.c
b/hv.c
index
fe7e388
..
21e7ac3
100644
(file)
--- a/
hv.c
+++ b/
hv.c
@@
-828,6
+828,7
@@
S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store)
case PERL_MAGIC_tied:
case PERL_MAGIC_sig:
*needs_store = FALSE;
+ return; /* We've set all there is to set. */
}
}
mg = mg->mg_moremagic;