On Wed, Sep 10, 2014 at 1:32 AM, Michael Torrie <torr...@gmail.com> wrote:
> Yes you're correct.  It is the equivalent.  But it always involves
> lookup in the object's dictionary, which is big O order O(n log n)
> complexity for each and every access.

Where do you get that figure from? A CPython dictionary is implemented
as a hashtable, so algorithmic complexity of lookups ought to be O(1).

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to