| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Mar 31, 2005, at 7:37 AM, Lane Roathe wrote:
..On 3/30/05 3:06 PM, steve zellers didst favor us with:
Also, I saw another comment about using GetPtrSize - if at all possible, you
should maintain the size of your allocation if you'll think you'll need it
later. GetPtrSize is rather inefficient.
While it's true that the call is less efficient than a lookup, this is not an optimization that is worthwhile unless it's in a very tight loop or other really time intensive/sensitive piece of code.
is (imho) a waste of time to covert your code to malloc/free. Doesn't by
you anything except a few nanoseconds per call; instead you could spend
:-)
--smz
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Re: Handles and Pointers [was: performance issues] (From: "Lane Roathe" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.