Skip to content

chore(deps): update rust crate similar to v3.2.1 - #618

Merged
cakebaker merged 1 commit into
mainfrom
renovate/similar-3.x-lockfile
Oct 24, 2026
Merged

cakebaker merged 1 commit into
mainfrom
renovate/similar-3.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
similar dependencies patch 3.2.0 → 3.2.1

Release Notes

mitsuhiko/similar (similar)

v3.2.1

Compare Source

  • Improved real-world diffing performance substantially without changing the
    produced diffs. On a corpus of real source file revisions, line diffs run
    about 4x faster with Algorithm::Myers, 5x faster with
    Algorithm::Histogram, and 2.5x faster with Algorithm::Patience; word
    diffs run about 2x faster. This comes from a faster line tokenizer, a
    SipHash-1-3 content hash that consumes whole words (randomly keyed with
    std), cheaper integer-keyed lookup tables, hashing only the changed middle
    of Myers line diffs, flat occurrence tables in Histogram, and a gap buffer
    in the compaction pass that was quadratic on diffs with many ops.
    Allocation counts and peak memory dropped as well; in particular one sided
    and heavily unbalanced inputs no longer build index structures proportional
    to the larger side for Algorithm::Hunt, Algorithm::Histogram, and
    Algorithm::Patience.
  • Fixed Algorithm::Histogram overflowing the stack on inputs with many
    scattered changes. Pending ranges are now tracked on the heap, so stack
    usage no longer grows with the number of anchors. #​105
  • Fixed TextMerge::labels writing carriage returns and newlines verbatim into
    conflict markers, which let a label add lines to the output that looked like
    merged content. Line terminators in labels are now replaced with spaces.
    #​101

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.94%. Comparing base (d804abd) to head (08e79a7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #618   +/-   ##
=======================================
  Coverage   94.94%   94.94%           
=======================================
  Files          14       14           
  Lines        7293     7294    +1     
  Branches      434      434           
=======================================
+ Hits         6924     6925    +1     
  Misses        368      368           
  Partials        1        1           
Flag Coverage Δ
macos_latest 96.46% <ø> (?)
ubuntu_latest 96.40% <ø> (ø)
windows_latest 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cakebaker
cakebaker merged commit 8464f58 into main Oct 24, 2026
42 checks passed
@renovate
renovate Bot deleted the renovate/similar-3.x-lockfile branch October 24, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant