• 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: Optimizing writes of big files for specific hardware?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimizing writes of big files for specific hardware?


  • Subject: Re: Optimizing writes of big files for specific hardware?
  • From: Igor Mozolevsky <email@hidden>
  • Date: Fri, 3 Jul 2009 20:54:13 +0100

2009/7/3 Jay Reynolds Freeman <email@hidden>:

> At the moment I am actually just using the C++ library "write"
> to do the writes, in a tight loop with a large buffer (50 MByte)
> full of zeros.
>
> Is there a way to optimize?

I'd memory-map the file and bzero() the space.


--
Igor
_______________________________________________

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

References: 
 >Re: Design for custom tableviewcell button action (From: Brian Slick <email@hidden>)
 >Optimizing writes of big files for specific hardware? (From: Jay Reynolds Freeman <email@hidden>)

  • Prev by Date: Re: Securely limit the running an application by serial number
  • Next by Date: Re: Securely limit the running an application by serial number
  • Previous by thread: Optimizing writes of big files for specific hardware?
  • Next by thread: Re: Design for custom tableviewcell button action
  • Index(es):
    • Date
    • Thread