by reference parameters

Alex Rice alex at mindlube.com
Wed Sep 17 01:45:01 EDT 2003


I had it in my head that @params were faster than regular parameters. I 
guess this came from C programming where pointer args could be used as 
an optimization because one avoided a variable copy each call. I was 
just doing some transcript tests and I can't see a speed difference 
between a handler with regular params vs by-reference parameters. Am I 
a correct that @params aren't used for optimization? They only exist to 
entice me away from writing non-destructive functions! :-)

Alex Rice <alex at mindlube.com> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco




More information about the use-livecode mailing list