Hello all,
I have 3 continuous (steps of 1) ranges a,a1,a2. All of them sorted.
I am performing the following operations on them

a = a.difference (a1)
a = a.difference(a2)

Now, this doesn't seem to make use of the fact that
1. They are sorted
2. They increase in steps of 1 .

Could someone suggest a better way of doing this to make these operations
more efficient?

Thank you,
Tejaswi D Prakash
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to