Changes between Version 6 and Version 8 of Ticket #6484


Ignore:
Timestamp:
04/27/15 17:29:10 (7 years ago)
Author:
nthiery
Comment:

Should we worry about backward compatibility and revert to l.index if any of the object is not hashable?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6484 – Description

    v6 v8  
    55    }}}
    66
    7     f uses ``list.index``, and is therefore `O(n)`. This should be made `O(1)` with a hash table.
     7    f uses `list.index`, and is therefore `O(n)`. This should be made `O(1)` with a hash table.
    88
    99Further potential improvement (for a later ticket?):
    1010
    1111- make the rank / unrank objects produced by this library picklable.
    12