Author: Dieter Buerssner
Date: 10:34:13 07/29/03
Go up one level in this thread
On July 28, 2003 at 19:08:36, Omid David Tabibi wrote: >On July 28, 2003 at 19:00:41, Dieter Buerssner wrote: >>It may even be a performance issue. I read your suggestion about the small >>inline functions vs. macros. I basically agree. But when using reference >>paramaters (your example did), things might be very different. This might make >>it very difficult or even impossible to make a good optimization for the >>compiler. > >I'm afraid I didn't get this point. What is the practical difference between >passing by reference, and sending a pointer? My comparision was meant to be between a macro and a function, that needs a pointer argument, and not between passing by reference or by an explicit pointer argument. I tried to give an example in the answer to Gerd. Regards, Dieter
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.