Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/traxys/patched

A tool to generate optimal patches
https://github.com/traxys/patched

diff optimal-patch optimal-path patch

Last synced: 25 days ago
JSON representation

A tool to generate optimal patches

Awesome Lists containing this project

README

        

# Patched

Patched is a generator of optimal patches for transforming one file into another. The patches are optimal in the sense that they require the less operations.

## Compilation

This uses C++17 so you need an up to date complier.

## Usage

`computePatchOpt file_source file_dest patch_name`

## Performance

This uses a heap of paths + hash map of markings / path saving. It is more performant the less files differ. In case of random files of `n` lines you can expect `n**2` usage of RAM and time at least.
In case of no change it performs in `n` iterations. Those are the worst and best case.