From: Nicholas Clark Date: Fri, 21 Aug 2009 20:50:26 +0000 (+0100) Subject: sv_newmortal() is faster than sv_2mortal(newSV(0)) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e234d892cf814aba4e038461a11d692e092aa71;p=p5sagit%2Fp5-mst-13.2.git sv_newmortal() is faster than sv_2mortal(newSV(0)) --- diff --git a/ext/mro/mro.xs b/ext/mro/mro.xs index 6fb37fb..f8a1ee7 100644 --- 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);