On Mon, Jun 2, 2008 at 6:31 AM, Giuseppe Ottaviano <[EMAIL PROTECTED]> wrote:
>
> On Jun 1, 2008, at 6:16 PM, George Sakkis wrote:
>
>> Equivalence is a class that can be used to maintain a partition of
>> objects into equivalence sets, making sure that the equivalence
>> properties (reflexivity, s
On Jun 1, 2008, at 6:16 PM, George Sakkis wrote:
Equivalence is a class that can be used to maintain a partition of
objects into equivalence sets, making sure that the equivalence
properties (reflexivity, symmetry, transitivity) are preserved. Two
objects x and y are considered equivalent eithe
Interesting.. it took me a while to figure out why the second case is
so much slower and you're right, it is indeed quadratic. I don't know
how likely would such pathological cases be in practice, given that
the preferred way to merge a batch of objects is
eq.merge(*xrange(10001)), which is more