• 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
[Q] is NSFileHandle's writeData method faster than the FSWriteFork?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] is NSFileHandle's writeData method faster than the FSWriteFork?


  • Subject: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
  • From: JongAm Park <email@hidden>
  • Date: Fri, 01 Aug 2008 15:33:01 -0700

Hello..

I have some codes which were written in Carbon and we want to make its performance faster.
I found out that most of the time is spent by a series of FSWriteFork() function. So, I would like to use any method which is faster than that.
fwrite is one option but I also looked up a Cocoa method, writeData message of the NSFileHandle.


Does anyone know if the writeData's performance compared to the FSWriteFork()?
Or can anyone suggest other methods to take?


Thank you.
JongAm Park
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
      • From: Jens Alfke <email@hidden>
    • Re: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: pointers in objective-c?
  • Next by Date: Re: Putting a spinning progress indicator in a outline
  • Previous by thread: Re: NSDistributedNotifications and scripting languages
  • Next by thread: Re: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
  • Index(es):
    • Date
    • Thread