Re: NSData object trouble with <16KB
Re: NSData object trouble with <16KB
- Subject: Re: NSData object trouble with <16KB
- From: Gregory Weston <email@hidden>
- Date: Thu, 22 Apr 2004 20:17:29 -0400
On Apr 22, 2004, at 7:01 PM, David Piasecki wrote:
Thanks! That was indeed my problem. Being new to Objective-C, I tend to
run into these problems. Strange that it only happened on small data
sizes and not the big ones.
"Small" allocations - where small is somewhat arbitrary - tend to be
inefficient. You can sometimes realize a fairly substantial win if you
preallocate a large pool and parcel out small requests from that on
your own independent of the system's allocator.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.