• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSwap
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • current user if started from /Library/StartupItems
      • From: Frank Fenn <email@hidden>
References: 
 >NSSwap (From: Lance Pysher <email@hidden>)

  • Prev by Date: NSSwap
  • Next by Date: Using Project Builder CVS with alternate port?
  • Previous by thread: NSSwap
  • Next by thread: current user if started from /Library/StartupItems
  • Index(es):
    • Date
    • Thread