v3.0.0
dmtrKovalenko/odiffv3.0.0Apr 29, 2024by dmtrKovalenko
AI Summary
A major performance overhaul rewriting the core algorithm in pure OCaml, resulting in significant speed increases.
Key Highlights
- Breaking algorithm changes for fewer false positives
- 3-4x faster than 2.x releases
- Sources rewritten to pure OCaml
- Smaller binary files and npm package size
Breaking Changes
- Breaking algorithm changes — some images can produce different diff
Full Release Notes
This is a huge release for odiff, it became faster than ever! Here is what's changed: ## Changes **Breaking** algorithm changes — some images can produce different diff - Improved our main algorithm implementation leading to fewer false positives around semi-transparent colors, resolved an issue with different encodings of fully transparent color, and now different color spaces for tiff images - odiff became even faster, 3-4 times faster than the 2.x releases at a cost of slightly larger memory usage. Get back to the previous memory usage with `--reduce-ram-usage` flag - Sources rewritten to pure OCaml 🐫 - Improved the way encoder libraries are linked leading to the smaller binary files and significantly lighter npm package size