Re: Is it a bad idea to invoke "init..." over and over on the same object?
Re: Is it a bad idea to invoke "init..." over and over on the same object?
- Subject: Re: Is it a bad idea to invoke "init..." over and over on the same object?
- From: j o a r <email@hidden>
- Date: Wed, 2 Nov 2005 16:34:07 +0100
On 2 nov 2005, at 16.25, Andrei Tchijov wrote:
- Can we expect that NSMutableData will not re-allocate "bytes" as
a result of "setLength" if "length" is always less or equal initial
capacity?
Never optimize without benchmarks! What is Shark telling you about this?
Let us know what your real bottle neck is, and we will be able to
give you better advice.
That said, I've found NSMutableData to be surprisingly efficient.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden