-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Oct 03, 2002 at 07:45:56AM +0100, Matt Sergeant wrote:
> IIRC it's because the print function is implemented in XS, so if you 
> pass a large string there's no copying occurring like there would be if 
> it was implemented in perl space naively. (i.e. my $string = shift).

And that's bad because....?

If we're worrying about Perl reusing the SV later, modperl_wbucket_write is
doing a memcpy of the PV anyway.  So why copy it twice?

- -- 
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ngxoA4aoazQ9p2cRAu+5AKCPuT/lITBRl7viFsz3pCdbyU5H+wCfX28q
MOqdGMJ3ATk22rySjCjobpk=
=9F4M
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to