thiell/test — Issue #239: RangeSet performance improvements
Author: thiell
Created: 2012-03-03 16:37:03+00:00
State: open
Labels: Doc

Clusters are bigger and bigger, the RangeSet class needs to be improved to avoid scalability issues like:

{{{
>>> t = timeit.Timer("""from ClusterShell.NodeSet import RangeSet
... rg = RangeSet("0-9000")
... for r in rg: rg.remove(r)
... """)
>>> t.timeit(1)
14.957219123840332
}}}

Also, RangeSet improvements could lead to ticket #129 being fixed as well, we never know.