From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19276 invoked by alias); 7 Nov 2003 22:08:22 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19263 invoked from network); 7 Nov 2003 22:08:22 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 7 Nov 2003 22:08:22 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 97AFA2B8F; Fri, 7 Nov 2003 17:08:22 -0500 (EST) Message-ID: <3FAC17D6.2010805@redhat.com> Date: Fri, 07 Nov 2003 22:08:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Cc: Daniel Jacobowitz Subject: Re: [patch/rfc] Tweak bcache performance References: <3FA6A758.1060104@redhat.com> <20031103191222.GA1761@nevyn.them.org> <3FA6B262.5040102@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00139.txt.bz2 > 2003-11-03 Andrew Cagney > > * bcache.h: Update copyright. Add comments on bcache VS hashtab. > * bcache.c (struct bstring): Make "length" an unsigned short, add > "half_hash". > (struct bcache): Add "half_hash_error_count". > (bcache): Compute and save the "half_hash". Compare the > "half_hash" before comparing the length. Update > half_hash_error_count. I've checked this in. Andrew