dependabot[bot] opened a new pull request, #482:
URL: https://github.com/apache/arrow-datafusion-python/pull/482

   Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.7.4 to 0.7.5.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md";>regex-syntax's
 changelog</a>.</em></p>
   <blockquote>
   <h1>1.9.5 (2023-09-02)</h1>
   <p>This is a patch release that hopefully mostly fixes a performance bug that
   occurs when sharing a regex across multiple threads.</p>
   <p>Issue <a 
href="https://redirect.github.com/rust-lang/regex/issues/934";>#934</a>
   explains this in more detail. It is <a 
href="https://docs.rs/regex/latest/regex/#sharing-a-regex-across-threads-can-result-in-contention";>also
 noted in the crate
   documentation</a>.
   The bug can appear when sharing a regex across multiple threads 
simultaneously,
   as might be the case when using a regex from a <code>OnceLock</code>, 
<code>lazy_static</code> or
   similar primitive. Usually high contention only results when using many 
threads
   to execute searches on small haystacks.</p>
   <p>One can avoid the contention problem entirely through one of two methods.
   The first is to use lower level APIs from <code>regex-automata</code> that 
require passing
   state explicitly, such as <a 
href="https://docs.rs/regex-automata/latest/regex_automata/meta/struct.Regex.html#method.search_with";><code>meta::Regex::search_with</code></a>.
   The second is to clone a regex and send it to other threads explicitly. This
   will not use any additional memory usage compared to sharing the regex. The
   only downside of this approach is that it may be less convenient, for 
example,
   it won't work with things like <code>OnceLock</code> or 
<code>lazy_static</code> or <code>once_cell</code>.</p>
   <p>With that said, as of this release, the contention performance problems 
have
   been greatly reduced. This was achieved by changing the free-list so that it
   was sharded across threads, and that ensuring each sharded mutex occupies a
   single cache line to mitigate false sharing. So while contention may still
   impact performance in some cases, it should be a lot better now.</p>
   <p>Because of the changes to how the free-list works, please report any 
issues you
   find with this release. That not only includes search time regressions but 
also
   significant regressions in memory usage. Reporting improvements is also 
welcome
   as well! If possible, provide a reproduction.</p>
   <p>Bug fixes:</p>
   <ul>
   <li>[BUG <a 
href="https://redirect.github.com/rust-lang/regex/issues/934";>#934</a>](<a 
href="https://redirect.github.com/rust-lang/regex/issues/934";>rust-lang/regex#934</a>):
   Fix a performance bug where high contention on a single regex led to massive
   slow downs.</li>
   </ul>
   <h1>1.9.4 (2023-08-26)</h1>
   <p>This is a patch release that fixes a bug where 
<code>RegexSet::is_match(..)</code> could
   incorrectly return false (even when 
<code>RegexSet::matches(..).matched_any()</code>
   returns true).</p>
   <p>Bug fixes:</p>
   <ul>
   <li>[BUG <a 
href="https://redirect.github.com/rust-lang/regex/issues/1070";>#1070</a>](<a 
href="https://redirect.github.com/rust-lang/regex/issues/1070";>rust-lang/regex#1070</a>):
   Fix a bug where a prefilter was incorrectly configured for a 
<code>RegexSet</code>.</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/rust-lang/regex/commit/990979bbdc28fa841e3ad55934ee445cd710d110";><code>990979b</code></a>
 regex-syntax-0.7.5</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/e008f83090c1fa858cd602da94e9ffdf38fd7317";><code>e008f83</code></a>
 changelog: 1.9.4</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/c788378d6fe407f4774df98a78436cea5d98525b";><code>c788378</code></a>
 ci: drop mips, add powerpc and s390x</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/de0339959b491ae0a26e6f96c0b0dc1635bc0f94";><code>de03399</code></a>
 automata: fix incorrect use of Aho-Corasick's &quot;standard&quot; 
semantics</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/7536e055840f74f1f7bda8ffecf851cb3e500147";><code>7536e05</code></a>
 syntax: remove superfluous <code>borrow</code></li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/81e328a29f8c57cb3622930104177e8606270230";><code>81e328a</code></a>
 doc: fix typo in module-level doc</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/10faa44da9134c053c28a55857068909ca29a452";><code>10faa44</code></a>
 doc: fix a couple typos</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/431c4e4867e1eb33eb39b23ed47c9934b2672f8f";><code>431c4e4</code></a>
 doc: fix typo in captures_read</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/72f889ef3cca59ebac6a026f3646e8d92f056d88";><code>72f889e</code></a>
 1.9.3</li>
   <li><a 
href="https://github.com/rust-lang/regex/commit/446ecd6154854274c70b015e6c2718cdf2f48c57";><code>446ecd6</code></a>
 deps: bump regex-automata to 0.3.6</li>
   <li>Additional commits viewable in <a 
href="https://github.com/rust-lang/regex/compare/regex-syntax-0.7.4...regex-syntax-0.7.5";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex-syntax&package-manager=cargo&previous-version=0.7.4&new-version=0.7.5)](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 merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@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]

Reply via email to