Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Access time for a value in CFArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access time for a value in CFArray



On 26/06/07, sunil baek <email@hidden> wrote:

http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFCollections/Concepts/types.html#//apple_ref/doc/uid/20001129

quote:
The access time for a value in the array is guaranteed to be at worst O(log
N) for any implementation, current and future, but will often be O(1) (that
is, constant time).


I can't understand how access time can be O(log N) ?

If you're interested in more information about what's going on, take a read of: <http://ridiculousfish.com/blog/archives/2005/12/23/array/>

-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Student-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Access time for a value in CFArray (From: sunil baek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.