help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Realtime cost of call by value


From: Geraint Paul Bevan
Subject: Re: Realtime cost of call by value
Date: Wed, 29 Oct 2003 09:20:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

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


Glenn Golden wrote:

| in a DLD.  The moment you put an Octave object on the LHS of
| an assignment -- even in C++ code, dereferencing the object through
| a pointer -- the copy down occurs, and your lunch is eaten.

Hi Glenn,

sorry, I must have misunderstood what you were trying to do. I thought
you were just trying to pass large "const" objects betweem .oct
functions and the Octave interpreter without having them copied during
the function call. You are quite right, of course, that the use of
pointers will not change the way that Octave performs operations when
you manipulate the data by placing it on the left hand side of an
assignment.

Geraint.

- --
Geraint Bevan
http://homepage.ntlworld.com/geraint.bevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj+fhmQACgkQcXV3N50QmNMpwQCfVjaRbZGQdnSBR58dKWCT4d97
4TIAn1NjpBc7OJCgrpfVsmGuQlASKiV/
=IPb7
-----END PGP SIGNATURE-----



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]