Code

History

Commits on git-sync to lib/src/diff.rs35+
  1. clippy: fix unnecessary_semicolon lintxtqqczze committed 9 months agocbe8b79
  2. cleanup: remove redundant + use<'_> after migrating to 2024 editionYuya Nishihara committed 1 year ago5f40f62
  3. cli_util: rename `Diff` to `ContentDiff`Martin von Zweigbergk committed 1 year ago452a1a4
  4. cleanup: replace clippy allow() exemptions by expect()Martin von Zweigbergk committed 1 year ago8aa9d1d
  5. cli, lib: move to Rust 2024 language editionAustin Seipp committed 1 year agoba24140
  6. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  7. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  8. cleanup: switch to use<'_> capturing syntaxYuya Nishihara committed 1 year agoa27d925
  9. MSRV: Update to 1.84 and run `clippy --fix`, `cargo fmt`Ilya Grigoriev committed 1 year ago1ede79c
  10. diff: optimize allocation of histogram entries for unique wordsYuya Nishihara committed 1 year agoc6bb019
  11. diff: reuse precomputed hash valuesYuya Nishihara committed 2 years ago05c7da3
  12. diff: extract narrowed view type from DiffSource, add type-safe local indexYuya Nishihara committed 2 years ago2c65356
  13. diff: cache hash values by HistogramYuya Nishihara committed 2 years agoed18b5b
  14. diff: impl Clone, Debug for DiffHunkIteratorYuya Nishihara committed 2 years agof251f08
  15. diff: extract hunk_ranges() iteratorYuya Nishihara committed 2 years agode2a8a5
  16. style: remove unneeded lifetimes from trait implementationsSamuel Tardieu committed 2 years ago2112584
  17. diff: inline contents and ranges vecs up to two sidesYuya Nishihara committed 2 years agoe5e85e7
  18. diff: rely on compacted unchanged regions when iterating hunksYuya Nishihara committed 2 years agoa943378
  19. diff: insert empty unchanged range at start to remove some clone()sYuya Nishihara committed 2 years agoe15c7a8
  20. diff: omit insertion of terminal range that would be compactedYuya Nishihara committed 2 years ago1967a55
  21. diff: simplify merge of refined ranges, unimplement OrdYuya Nishihara committed 2 years agoff0a1ad
  22. diff: return matching hunk contents from all inputsYuya Nishihara committed 2 years ago383cca4
  23. diff: use low-level HashTable in HistogramYuya Nishihara committed 2 years agoc5f9261
  24. diff: implement some ignore-space rulesYuya Nishihara committed 2 years agode137c8
  25. diff: add trait for bytes comparisonYuya Nishihara committed 2 years agof672c92
  26. style: add semicolon at the end of expressions used as statementsSamuel Tardieu committed 2 years ago3f2ef2e
  27. style: remove useless uses of `.iter()`Samuel Tardieu committed 2 years ago62f582e
  28. lib: add short method summary to its documentationSamuel Tardieu committed 2 years ago8ba33b7
  29. diff: keep absolute ranges to support unchanged regions of different lengthsYuya Nishihara committed 2 years ago4f8ae69
  30. diff: extract helper that returns texts between two UnchangedRangesYuya Nishihara committed 2 years agoe28fdac
  31. diff: don't destructure UnchangedRange in a loop, rename base_range fieldYuya Nishihara committed 2 years ago055f15b
  32. diff: do not translate word-range indices by collect_unchanged_ranges()Yuya Nishihara committed 2 years ago68176d9
  33. diff: reuse result vec when recurse into unchanged_ranges()Yuya Nishihara committed 2 years ago483db9d
  34. diff: remove redundant check for empty ranges from unchanged_ranges() recursionYuya Nishihara committed 2 years agof6277bb
  35. diff: remove redundant hash map lookup of uncommon shared wordsYuya Nishihara committed 2 years ago64e1ae2