From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: [PATCH 0/5] Suggested for PU: revision caching system to significantly speed up packing/walking Date: Fri, 07 Aug 2009 00:42:14 -0400 (EDT) Message-ID: References: <4A7AEFA8.5010001@drmicha.warpmail.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Johannes Schindelin , Michael J Gruber , Junio C Hamano , Jeff King , Sam Vilain , "Shawn O. Pearce" , Andreas Ericsson , Christian Couder , "git@vger.kernel.org" To: Nick Edelen X-From: git-owner@vger.kernel.org Fri Aug 07 06:42:31 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MZHHi-0006q4-WD for gcvg-git-2@gmane.org; Fri, 07 Aug 2009 06:42:31 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754735AbZHGEmV (ORCPT ); Fri, 7 Aug 2009 00:42:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754513AbZHGEmV (ORCPT ); Fri, 7 Aug 2009 00:42:21 -0400 Received: from relais.videotron.ca ([24.201.245.36]:64509 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754532AbZHGEmT (ORCPT ); Fri, 7 Aug 2009 00:42:19 -0400 Received: from xanadu.home ([66.130.28.92]) by VL-MH-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KNZ009PZP2EXZV0@VL-MH-MR001.ip.videotron.ca> for git@vger.kernel.org; Fri, 07 Aug 2009 00:42:15 -0400 (EDT) X-X-Sender: nico@xanadu.home In-reply-to: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, 6 Aug 2009, Nick Edelen wrote: > Hrmm, I just realized that it dosn't actually cache paths/names... > This obviously has no bearing on its use in packing, but I should > either add that in or restrict usage in non-packing-related walks. > Weird how things like that escape you. Actually it is really the packing related walk that would benefit the most from this work. The "counting objects" phase of a clone may take quite a while with some repositories. Most other operations don't care as much because the rev walk is done incrementally whereas the packing operation needs to perform it all up front. Nicolas