projects
/
gitmo/Class-C3-XS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
sv_newmortal() is faster than sv_2mortal(newSV(0))
[gitmo/Class-C3-XS.git]
/
XS.xs
diff --git
a/XS.xs
b/XS.xs
index
07f0a9b
..
94ef956
100644
(file)
--- a/
XS.xs
+++ b/
XS.xs
@@
-407,7
+407,7
@@
XS(XS_Class_C3_XS_nextcan)
}
/* we found a real sub here */
- sv = sv_2mortal(newSV(0));
+ sv = sv_newmortal();
gv_efullname3(sv, cvgv, NULL);