Re: qsort (was Re: Solaris)

From: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: qsort (was Re: Solaris)
Date: 2003-05-02 02:48:26
Message-ID: 3EB1DC7A.3070103@mega-bucks.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

More test values :)

On a RH 8.0 i686 box with a custom 2.4.20 kernel, with gcc 3.2 20020903
(Red Hat Linux 8.0 3.2-7) and with glibc 2.2.93

Value (i = index) BSD GLIBC
random() * mod 0.53 0.78
i % mod 0.15 0.64
i / (ITEMS / mod) 0.10 0.35
i ^ 0x5555555 0.39 0.54

--

Jean-Christian Imbeault

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Kirkwood 2003-05-02 03:06:49 Re: qsort (was Re: Solaris)
Previous Message nolan 2003-05-01 23:45:37 Updating a table which is null doesn't work?