Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handles and Pointers [was: performance issues]



On 3/31/05 12:29 PM, Steve Zellers didst favor us with:

> 
> On Mar 31, 2005, at 8:49 AM, Laurence Harris wrote:
> 
>> The next question then, is why isn't the NewPtr mechanism implemented as
>> efficiently as Steve thinks my substitute would be? If that were the case
>> then it would be a non-issue.
> 
> I'm sorry, I didn't see that thread.

"There is no way all that is going to be more efficient than keeping track
of it yourself :-)

--smz"
> 
>> All the code currently using GetPtrSize would be more efficient and lots of
>> developers could so something more productive with their time instead of
>> having to worry about this kind of stuff and changing code.
>> 
> 
> I would say that GetPtrSize is exactly as efficient as it should be.  A
> better way to know the size of a pointer is to keep track of it
> yourself.

If I can do it a better way, it's not as efficient as it should be.

Larry

 _______________________________________________
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

This email sent to email@hidden

References: 
 >Re: Handles and Pointers [was: performance issues] (From: Steve Zellers <email@hidden>)



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.