Re: NSSwap
Re: NSSwap
- Subject: Re: NSSwap
- From: David Remahl <email@hidden>
- Date: Mon, 3 Feb 2003 20:50:20 +0100
On Monday, February 3, 2003, at 08:36 PM, Lance Pysher wrote:
If I have large amount of data as NSMutableData that is all in
short Little Endian format, is there a faster way to convert it to
Big Endian than looping through the data with NSSwapLittleToHost.
Lance Pysher
Yes, you can create AltiVec optimized swapping routines. AltiVec can
also swap data on-the-fly within some restrictions. Note that you
should still provide a C-based method that can be used on G3:s (and
possibly other architectures).
/ Regards, David Remahl
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >NSSwap (From: Lance Pysher <email@hidden>) |