Re: Is there a more efficient way to get the first 4 bytes off a NSInputStream to compare
Re: Is there a more efficient way to get the first 4 bytes off a NSInputStream to compare
- Subject: Re: Is there a more efficient way to get the first 4 bytes off a NSInputStream to compare
- From: Kyle Sluder <email@hidden>
- Date: Tue, 27 Jan 2009 17:42:16 -0500
On Tue, Jan 27, 2009 at 5:15 PM, William Jon Shipley
<email@hidden> wrote:
> In my tests "NSUncachedRead" is very, VERY fast, great if you are only going
> to use each byte once. "NSMappedRead" has a different set of constraints but
> can also be very fast.
Since he's apparently unwilling, I'll link to Wil's blog post on the
topic, as it's a pretty interesting read:
http://wilshipley.com/blog/2008/07/pimp-my-code-part-15-greatest-bug-of.html
--Kyle Sluder
_______________________________________________
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