On Mon, Dec 16, 2002 at 05:48:23PM -0500, Tony Goggin wrote: > > > > > > Op #1: *fRecPOne = *fRecPTwo; > > > > Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB)); > > > > Actually I would have expected these operations to be identical as > well, except for overlapping memory areas (MemMove should handle it
True. The only slight additional difference is that the former could perform the copy without a function call (thus without incurring in extra function call cost, and possibly requiring less stack space). Anyway I think that this is compiler dependent. Cheers, Marco -- ======================================================================== Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
