cea-hpc/clustershell — Issue #177: RangeSet performance improvements
Author: thiell
Created: 2012-03-03 16:49:09+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.