Re: Optimizing writes of big files for specific hardware?
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