site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 3 May 2010, at 20:09, Nathan Herring wrote:
GNU also has some compiler intrinsics to perform the same, so you can avoid the cost of the function call to OS services.
IMO it's better to use the OSByteOrder/NSByteOrder/CFByteOrder APIs instead. They will expand to compiler intrinsics or assembly language as appropriate anyway. Which you use is, as Jean-Daniel remarked, mainly a matter of taste. Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com