Skip site navigation (1) Skip section navigation (2)

pgbouncer - pgbouncer: simple version of jenkins hash the attempt to

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: simple version of jenkins hash the attempt to
Date: 2007-11-01 08:29:08
Message-ID: 20071101082908.3143B216FAC@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
simple version of jenkins hash

the attempt to have clean + optimized did not work out as it was not very clean
nor very optimized - on some arches slower than bob's original.

so instead lets use simplest possible variant.  it happens to be no more than 10%
slower worst case and occasinally even faster (when gcc knows it can do unaligned
access).  seems like good tradeoff.

Modified Files:
--------------
    pgbouncer/src:
        hash.c (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/hash.c.diff?r1=1.1&r2=1.2)
        hash.h (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/hash.h.diff?r1=1.1&r2=1.2)

pgsql-committers by date

Next:From: User Cunha17Date: 2007-11-01 15:28:32
Subject: snapshot - src: New Directory
Previous:From: User JbcooleyDate: 2007-11-01 03:06:26
Subject: npgsql - Npgsql2: 2007-10-31 Josh Cooley <jbnpgsql@tuxinthebox.net>

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group