On Sun, 15 Jul 2007 14:27:23 -0700, Stephen Barncard wrote:

> what about "pass by reference" being faster?

My understanding is that what you get with PBR is not necessarily an 
increase in speed, but a reduction in the amount of memory space needed 
to manipulate the data. If you use regular parameters, there is at any 
given time *two* copies of passed variables in memory - the one in the 
calling handler, and a new copy that's being examined/manipulated in 
the called handler. in PBR, the same variable is being manipulated so 
there's no copy being made.

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to