Code

History

Commits on git-colocate to lib/src/diff.rs35+
  1. diff: impl Clone, Debug for DiffHunkIteratorYuya Nishihara committed 2 years agof251f08
  2. diff: extract hunk_ranges() iteratorYuya Nishihara committed 2 years agode2a8a5
  3. style: remove unneeded lifetimes from trait implementationsSamuel Tardieu committed 2 years ago2112584
  4. diff: inline contents and ranges vecs up to two sidesYuya Nishihara committed 2 years agoe5e85e7
  5. diff: rely on compacted unchanged regions when iterating hunksYuya Nishihara committed 2 years agoa943378
  6. diff: insert empty unchanged range at start to remove some clone()sYuya Nishihara committed 2 years agoe15c7a8
  7. diff: omit insertion of terminal range that would be compactedYuya Nishihara committed 2 years ago1967a55
  8. diff: simplify merge of refined ranges, unimplement OrdYuya Nishihara committed 2 years agoff0a1ad
  9. diff: return matching hunk contents from all inputsYuya Nishihara committed 2 years ago383cca4
  10. diff: use low-level HashTable in HistogramYuya Nishihara committed 2 years agoc5f9261
  11. diff: implement some ignore-space rulesYuya Nishihara committed 2 years agode137c8
  12. diff: add trait for bytes comparisonYuya Nishihara committed 2 years agof672c92
  13. style: add semicolon at the end of expressions used as statementsSamuel Tardieu committed 2 years ago3f2ef2e
  14. style: remove useless uses of `.iter()`Samuel Tardieu committed 2 years ago62f582e
  15. lib: add short method summary to its documentationSamuel Tardieu committed 2 years ago8ba33b7
  16. diff: keep absolute ranges to support unchanged regions of different lengthsYuya Nishihara committed 2 years ago4f8ae69
  17. diff: extract helper that returns texts between two UnchangedRangesYuya Nishihara committed 2 years agoe28fdac
  18. diff: don't destructure UnchangedRange in a loop, rename base_range fieldYuya Nishihara committed 2 years ago055f15b
  19. diff: do not translate word-range indices by collect_unchanged_ranges()Yuya Nishihara committed 2 years ago68176d9
  20. diff: reuse result vec when recurse into unchanged_ranges()Yuya Nishihara committed 2 years ago483db9d
  21. diff: remove redundant check for empty ranges from unchanged_ranges() recursionYuya Nishihara committed 2 years agof6277bb
  22. diff: remove redundant hash map lookup of uncommon shared wordsYuya Nishihara committed 2 years ago64e1ae2
  23. diff: omit construction of count-to-words map for right-side histogramYuya Nishihara committed 2 years ago5c52b4e
  24. diff: build left-right index map without using (word, occurrence) hash keysYuya Nishihara committed 2 years ago493f610
  25. diff: introduce newtype that represents word-range indexYuya Nishihara committed 2 years agodd93e8f
  26. diff: pack (text, ranges) pair in a structYuya Nishihara committed 2 years ago739a5d8
  27. diff: sort word occurrences only by positionsYuya Nishihara committed 2 years ago1b46932
  28. diff: use iter::zip() instead of slice indexingYuya Nishihara committed 2 years ago5842267
  29. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  30. diff: inline Diff::default_refinement() in diff()Yuya Nishihara committed 2 years ago6101a66
  31. tests: use diff::diff() instead of Diff::default_refinement()Yuya Nishihara committed 2 years ago864dd73
  32. diff: make diff() function accept any number of inputsYuya Nishihara committed 2 years agodb0a4bc
  33. diff: extract Diff::by_word() functionYuya Nishihara committed 2 years ago2be8e59
  34. diff: move empty content optimization from diff() to Diff::for_tokenizer()Yuya Nishihara committed 2 years agoa62c877
  35. tests: add more empty content diff samplesYuya Nishihara committed 2 years ago73e4daf