pgbouncer - pgbouncer: jenkins hash: optimize last memcpy compiler

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: jenkins hash: optimize last memcpy compiler
Date: 2007-11-08 21:32:40
Message-ID: 20071108213240.540E0216CB1@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
jenkins hash: optimize last memcpy

compiler cannot optimize variable-size memcpy.
use a inlined simple version then.

That makes this version always faster than
Jenkins version on Core Duo. On other cpu-s
its +3% win although still slower than Jenkins'.

Modified Files:
--------------
pgbouncer/src:
hash.c (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/hash.c.diff?r1=1.3&r2=1.4)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-08 21:49:48 pgsql: Fix EquivalenceClass code to handle volatile sort expressions in
Previous Message James William Pye 2007-11-08 19:32:44 python - typ: Remove unused files, again..