Skip to content

dy-tea/vdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdiff

Multithreaded binary file differ written in V.

Usage

Usage: vdiff [options] [ARGS]

Description: File differ

The arguments should be exactly 2 in number.

Options:
  -j, --threads <int>       Number of threads to use
  -c, --chunk-size <int>    Chunk size to use
  -h, --help                display this help and exit
  --version                 output version information and exit

Run with threads == processor count and chunk size == 8MiB:

vdiff -j $(nproc) -c 8388608 1.zip 2.zip

Building

Ensure you have V installed and added to PATH.

git clone https://github.com/dy-tea/vdiff.git
cd vdiff
v -prod .

About

Multithreaded binary file differ in V

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages