On Tue, Apr 14, 2009 at 3:03 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote: > 2) Pointer access needs to be 4-byte aligned (on PC, don't know about > iPhone);
This is not so. It's extremely rare to find a platform which *requires* aligned access, and you certainly won't find one running OS X. What's more common is finding a platform which *prefers* aligned access, punishing misaligned access with significantly slower operation. Even in those cases, "misaligned" means using an address that isn't a multiple of your data type's size. Since char is always one byte by definition, it is impossible to have a misaligned char pointer. Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com