RE: Strangeness when moving data through an array.
RE: Strangeness when moving data through an array.
- Subject: RE: Strangeness when moving data through an array.
- From: Jeff Laing <email@hidden>
- Date: Thu, 2 Dec 2004 10:10:17 +1100
> Either way the penalty is just a few cycles - probably not worth
> worrying about unless it executes millions of times and
> profiling shows that it's a bottleneck.
Agreed, although I confess that I'm in the habit of using memmove() to do
this sort of thing because I've been bitten in the past by operating systems
that prefer to pass the exception on to you. Rather than remember which
platforms unaligned accesses are safe on, I train myself to be paranoid.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden