• 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: getting bytes out of NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting bytes out of NSData


  • Subject: Re: getting bytes out of NSData
  • From: Koen van der Drift <email@hidden>
  • Date: Sat, 23 Jul 2005 12:28:21 -0400


On Jul 22, 2005, at 8:47 PM, Sherm Pendley wrote:

If you *are* doing this a lot, you might consider making a single call to -bytes, and using simple pointer arithmetic after that, if you can - much faster than repeatedly calling -bytes.


The method that this snippet is in, only needs to lookup one char at a time. However, the method could be called many times after each other, so I might need to rethink my code.


Oh, and thanks for the Shark tip, I forgot aboit that. Great that I can call it now directly from within Xcode.

- Koen.
_______________________________________________
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


References: 
 >getting bytes out of NSData (From: Koen van der Drift <email@hidden>)
 >Re: getting bytes out of NSData (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Threads & NSTextView
  • Next by Date: Re: Threads & NSTextView
  • Previous by thread: Re: getting bytes out of NSData
  • Next by thread: Getting Sleep Events
  • Index(es):
    • Date
    • Thread