Skip to content

waagsociety/hashed-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hashed-diff

A memory efficient diff script for large files, implemented with xxHash.

The hashed-diff ruby script is a reasonably fast, memory efficient script that wraps diff for very large files (4Gb).

The script uses the very fast xxhash to create temporary files with hashes for each individual line. Then it applies diff to these hashed files. Finally the script transforms the diff output to include the original lines.

Install:

gem install hashed-diff

Usage:

hashed-diff file1 file2

About

memory efficient diff script for large files, implemented with xxhash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages