A Linear Time, Constant Space Differencing Algorithm

نویسندگان

  • Randal C. Burns
  • Darrell D. E. Long
چکیده

An efficient differencing algorithm can be used to compress version of files for both transmission over low bandwidth channels and compact storage. This can greatly reduce network traffic and execution time for distributed applications which include software distribution, source code control, file system replication, and data backup and restore. An algorithm for such applications needs to be both general and efficient; able to compress binary inputs in linear time. We present such an algorithm for differencing files at the granularity of a byte. The algorithm uses constant memory and handles arbitrarily large input files. While the algorithm makes minor sacrifices in compression to attain linear runtime performance, it outperforms the byte-wise differencing algorithms that we have encountered in the literature on all inputs.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An approximation to the greedy algorithm for differential compression

We present a new differential compression algorithm that combines the hash value techniques and suffix array techniques of previous work. The term ‘‘differential compression’’ refers to encoding a file (a version file) as a set of changes with respect to another file (a reference file). Previous differential compression algorithms can be shown empirically to run in linear time, but they have ce...

متن کامل

Efficient computation of stability charts for linear time delay systems

A new efficient algorithm for the computation of the stability chart of linear time delay systems is proposed and tested on several examples. The stability chart is obtained by investigating the 2d-parameter space by a first coarse square grid which is then adaptively refined by triangulation to match the desired tolerance. This leads to a considerable reduction in computational cost with respe...

متن کامل

Saving Comparisons in the Crochemore-Perrin String Matching Algorithm

Crochemore and Perrin discovered an elegant linear-time constant-space string matching algorithm that makes at most 2n ?m symbol comparison. This paper shows how to modify their algorithm to use fewer comparisons. Given any xed > 0, the modiied algorithm takes linear time, uses constant space and makes at most n + b 1+ 2 (n ? m)c comparisons. If O(log m) space is available, then the algorithm m...

متن کامل

Land Cover Subpixel Change Detection using Hyperspectral Images Based on Spectral Unmixing and Post-processing

  The earth is continually being influenced by some actions such as flood, tornado and human artificial activities. This process causes the changes in land cover type. Thus, for optimal management of the use of resources, it is necessary to be aware of these changes. Today’s remote sensing plays key role in geology and environmental monitoring by its high resolution, wide covering and low cost...

متن کامل

A Survey of Time-Differencing Schemes for the Oscillation and Decay Equations

In atmospheric dynamics, the governing equations are usually non-linear partial differential equations. Some knowledge of finite-difference approximations to ordinary differential equations (especially first order) is needed, however. In fact, if we linearize a governing partial differential equation and assume a wave form for the solution, the equation simply reduces to an ordinary differentia...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997