From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3c8a1ddc13ecb354 X-Google-Attributes: gid103376,public From: pautet@email.enst.fr (Laurent Pautet) Subject: Re: Configuration Management for Ada on Unix Date: 1996/05/28 Message-ID: <4oeqp1$1mn@scapin.enst.fr>#1/1 X-Deja-AN: 157141384 sender: pautet@scapin.enst.fr references: <4nvm27$e68@gde.GDEsystems.COM> <31A79E0A.2F99@hiwaay.net> <4o94io$5ai@foehn.enst.fr> <31AADEFA.2781E494@escmail.orl.mmc.com> content-type: text/plain; charset=iso-8859-1 organization: Ecole Nationale Superieure des Telecommunications mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-05-28T00:00:00+00:00 List-Id: Theodore E. Dennison wrote: >Laurent Pautet wrote: >> Maybe I am wrong, but I think SCCS is very unefficient because it >> stores patches between Version (N+1) - Version (N) and when you want >> to access to version N, internally SCCS retrieves version 0 and >> applies all the patches to obtain version N. RCS stores the last >> version (rather than the first one) and differences between Version >> (N) - Version (N+1). >> > >That depends on what you mean by "inefficient". Assuming you aren't >making massive changes to files when you check them out, it is very >efficient for disk space, at the expense of checkout and checkin >time. No, no. What I mean is to get the last version of a file, SCCS gets the first version and applies all the patches to get the last version. With RCS or CVS, the last version is always there. To get the previous version, RCS applies a patch. My argument concerns the way the storage space is structured. SCCS and RCS have different storage models, different ways of building a given version. SCCS starts from the first version, RCS starts from the last version. That's all. The storage size is the same but the time to build the last version is (N-1) * T for SCCS and 0 for RCS (T = average time to apply a patch, N = number of file version). It is the difference between SCCS's interleaved deltas and RCS's reverse deltas. Retrieving the last version is a very common operation. So, RCS is more time efficient than SCCS. Concerning disk space, it is almost exactly the same efficiency based on difference between two successive versions. -- -- Laurent