[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for documentation about version control

From: Thien-Thi Nguyen
Subject: Re: patch for documentation about version control
Date: 11 Nov 2004 11:06:33 -0500

Andre Spiegel <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]