[Psi-devel] Re: Nondeterministic roster sorting

Trejkaz trejkaz at trypticon.org
Wed Mar 16 00:47:17 PST 2005


On Wednesday 16 March 2005 08:07, Michał Jazłowiecki wrote:
> Yves Goergen napisał(a):
> > On 15.03.2005 02:32 (+0100), trejkaz at trypticon.org wrote:
> >>I just noticed two items on my roster with the same name, doing a dance
> >> while deleting other roster entries.
> >>
> >>Is this a known issue?  I figure roster entries should be sorted in a
> >> deterministic fashion.
> >
> > I know about this and Enleth pointed me to it some time ago iirc, but I
> > thought it was one of my patches. Now it seems the problem existed
> > before.
>
> AFAIR, this behaviour was back in Psi-0.9.2 or even earlier. They even
> swap when opening and closing roster... BTW: this is not
> nondeterministic, but it's called non-stable sorting.

Actually, it is non-deterministic, as all non-deterministic sorts are actually 
non-stable by definition, and I was merely choosing to be more precise than 
you. :-)

TX

-- 
             Email: Trejkaz Xaoza <trejkaz at trypticon.org>
          Web site: http://trypticon.org/
         Jabber ID: trejkaz at jabber.zim.net.au
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73


More information about the Psi-devel-affinix.com mailing list