From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: patch for documentation about version control Date: 11 Nov 2004 11:06:33 -0500 Message-ID: References: <87vfce289d.fsf@floss.red-bean.com> <1100078556.3428.151.camel@localhost> <1100174117.3428.194.camel@localhost> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100189261 18994 80.91.229.6 (11 Nov 2004 16:07:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 16:07:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 11 17:07:29 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSHTs-0000w0-00 for ; Thu, 11 Nov 2004 17:07:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSHcN-0005VI-OT for ged-emacs-devel@m.gmane.org; Thu, 11 Nov 2004 11:16:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSHcE-0005V1-GF for emacs-devel@gnu.org; Thu, 11 Nov 2004 11:16:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSHcD-0005Ud-If for emacs-devel@gnu.org; Thu, 11 Nov 2004 11:16:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSHcD-0005UM-F1 for emacs-devel@gnu.org; Thu, 11 Nov 2004 11:16:05 -0500 Original-Received: from [207.245.121.140] (helo=colo.agora-net.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CSHSz-0000Me-TF; Thu, 11 Nov 2004 11:06:34 -0500 Original-Received: from ttn by colo.agora-net.com with local (Exim 4.41) id 1CSHSz-00082h-D6; Thu, 11 Nov 2004 11:06:33 -0500 Original-To: Andre Spiegel In-Reply-To: Andre Spiegel's message of "Thu, 11 Nov 2004 12:55:17 +0100" Original-Lines: 26 X-Mailer: Gnus v5.7/Emacs 20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29753 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29753 Andre Spiegel writes: What about the efficiency of your parser, though? How long does it take to construct this full parse tree for a large RCS master with many revisions? i haven't done any serious performance testing. looking around locally, the biggest file i could find was a ChangeLog of size 223492 bytes w/ 252 revisions. this is probably not representative since the typical revision in such a file is to add some text at the top, very simple as far as edits go... anyway, on a 300MHz openbrick, w/ the modified vc-rcs.elc loaded, (let ((start (current-time))) (call-interactively 'vc-annotate) (time-subtract (current-time) start)) => (0 11) other files i've tested to date have less revisions and are much faster, no surprise. probably a big win would be to avoid `with-temp-buffer' when parsing the rev bodies, keeping all scanning in the current buffer and consing a string only at the end. thi