projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
59d8e2c
)
sv_newmortal() is faster than sv_2mortal(newSV(0))
Nicholas Clark [Fri, 21 Aug 2009 20:50:26 +0000 (21:50 +0100)]
ext/mro/mro.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/mro/mro.xs
b/ext/mro/mro.xs
index
6fb37fb
..
f8a1ee7
100644
(file)
--- a/
ext/mro/mro.xs
+++ b/
ext/mro/mro.xs
@@
-533,7
+533,7
@@
mro__nextcan(...)
}
/* we found a real sub here */
- sv = sv_2mortal(newSV(0));
+ sv = sv_newmortal();
gv_efullname3(sv, cvgv, NULL);