dependabot[bot] opened a new pull request, #2972: URL: https://github.com/apache/datafusion-ballista/pull/2972
Bumps [similar](https://github.com/mitsuhiko/similar) from 2.7.0 to 3.2.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/similar/blob/main/CHANGELOG.md">similar's changelog</a>.</em></p> <blockquote> <h2>3.2.1</h2> <ul> <li>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 <code>Algorithm::Myers</code>, 5x faster with <code>Algorithm::Histogram</code>, and 2.5x faster with <code>Algorithm::Patience</code>; 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 <code>std</code>), 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 <code>Algorithm::Hunt</code>, <code>Algorithm::Histogram</code>, and <code>Algorithm::Patience</code>.</li> <li>Fixed <code>Algorithm::Histogram</code> 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. <a href="https://redirect.github.com/mitsuhiko/similar/issues/105">#105</a></li> <li>Fixed <code>TextMerge::labels</code> 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. <a href="https://redirect.github.com/mitsuhiko/similar/issues/101">#101</a></li> </ul> <h2>3.2.0</h2> <ul> <li>Added structured, line-oriented three-way merging through <code>TextMerge</code>, with merge and diff3 conflict output, configurable labels and marker sizes, owned and borrowed inputs, byte output, and whitespace-insensitive comparison.</li> <li>Added <code>WhitespaceMode</code> and <code>TextDiffConfig::whitespace_mode</code> for Git-style line comparisons that ignore changes in whitespace (<code>-b</code>) or all whitespace (<code>-w</code>).</li> <li>Changed <code>Algorithm::Myers</code> to reduce unmatched/confusing records and use Git-style bounded, non-minimal splits on expensive searches, and added <code>Algorithm::RawMyers</code> for the previous shortest-edit-script behavior without output-changing heuristics.</li> <li>Improved heuristics and performance for most algorithms other than LCS.</li> <li>Improved large-input performance by avoiding quadratic Histogram scans.</li> </ul> <h2>3.1.2</h2> <ul> <li>Fixed <code>Algorithm::Lcs</code> deadline fallback emitting edits twice, which produced out-of-bounds <code>DiffOp</code> ranges and panics when consuming timed-out diffs. <a href="https://redirect.github.com/mitsuhiko/similar/issues/97">#97</a></li> <li>Fixed <code>Algorithm::Lcs</code> reporting identical subranges with zero-based indices instead of preserving the supplied range offsets. <a href="https://redirect.github.com/mitsuhiko/similar/issues/98">#98</a></li> <li>Fixed <code>Algorithm::Lcs</code> and <code>Algorithm::Hunt</code> emitting zero-length delete operations when both inputs are empty. <a href="https://redirect.github.com/mitsuhiko/similar/issues/99">#99</a></li> </ul> <h2>3.1.1</h2> <ul> <li>Fixed <code>DiffOp</code> cursor positions when compacting adjacent inserts/deletes and</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mitsuhiko/similar/commit/71d4831349a61efa5c9fe521a344d8b335844d3a"><code>71d4831</code></a> chore(release): prepare 3.2.1</li> <li><a href="https://github.com/mitsuhiko/similar/commit/b61e6c32ee1f6395927cc1b4f069554c1da16a14"><code>b61e6c3</code></a> test(histogram): skip small stack tests on WASI</li> <li><a href="https://github.com/mitsuhiko/similar/commit/a4ee936538e659171eddd6f8fba598da61d4322e"><code>a4ee936</code></a> fix(histogram): track pending ranges on the heap</li> <li><a href="https://github.com/mitsuhiko/similar/commit/96993d92851eff9a484ea157614de30f80dfdc73"><code>96993d9</code></a> docs: add runnable example output gallery (<a href="https://redirect.github.com/mitsuhiko/similar/issues/104">#104</a>)</li> <li><a href="https://github.com/mitsuhiko/similar/commit/1c6428040122b0ca4c33da37dcfaffc7ccdf83ae"><code>1c64280</code></a> docs(changelog): describe diff performance and memory improvements</li> <li><a href="https://github.com/mitsuhiko/similar/commit/a3da6ec7ddb9cf625dc22167186152ce0f0c04c2"><code>a3da6ec</code></a> perf(compact): use a gap buffer for large operation lists</li> <li><a href="https://github.com/mitsuhiko/similar/commit/ce3a403ee97c7accf4591c8eff59c031403584a3"><code>ce3a403</code></a> perf(histogram): reuse indexes and bound unbalanced input allocations</li> <li><a href="https://github.com/mitsuhiko/similar/commit/2bcae2fb31d26141aa27feba5f71bcbd37bd0507"><code>2bcae2f</code></a> perf(myers): skip unchanged hashing and unused split bookkeeping</li> <li><a href="https://github.com/mitsuhiko/similar/commit/5a5aa8d4171872ff10fc2772b0d90dff6f5ca433"><code>5a5aa8d</code></a> perf(text): accelerate line and word tokenization</li> <li><a href="https://github.com/mitsuhiko/similar/commit/80bc2400cfe6e2ae0cfceb6adbe3df983f8a210b"><code>80bc240</code></a> perf(hash): accelerate content hashing and integer lookups</li> <li>Additional commits viewable in <a href="https://github.com/mitsuhiko/similar/compare/2.7.0...3.2.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
