For new SVs, macro NEWSV and function newSV.
For existing SVs, SvGROW and function sv_grow.
See perlapi.
Update: I can't find an existing interface to them. You could use Inline::C or write a simple XS module.
In reply to Re: Pre-grow a string
by ikegami
in thread Pre-grow a string
by diotalevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |