Eliminate some uses of sv_setpv() where we already know the length.
authorNicholas Clark <nick@ccl4.org>
Thu, 18 Oct 2007 18:06:29 +0000 (18:06 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 18 Oct 2007 18:06:29 +0000 (18:06 +0000)
commit49a54bbe5e246f5f51e51453d9cc5a19e72a4433
tree95c13d0218c4813cdf5947b181e8bdfe96f76e4b
parent9ff8e8065ea8557fda504cf7c2337bef185cd00f
Eliminate some uses of sv_setpv() where we already know the length.
Donate the prototype buffer to the CV in Perl_gv_init(), rather than
setting a copy, and immediately free()ing the original.

p4raw-id: //depot/perl@32136
gv.c
toke.c