diff options
| author | bors <bors@rust-lang.org> | 2025-03-16 14:23:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-16 14:23:18 +0000 |
| commit | 8b87fefd76665236a304d3c0998e1021710ce1b0 (patch) | |
| tree | 7d2afc19652a16217a94d018bf39221f8d261bdc /compiler/rustc_query_impl | |
| parent | d497e43a1664eaad5e5850f5f8c11c9e16f5ef66 (diff) | |
| parent | bfe536342f3bfaacea11ad4957e541d4219ae4ea (diff) | |
| download | rust-8b87fefd76665236a304d3c0998e1021710ce1b0.tar.gz rust-8b87fefd76665236a304d3c0998e1021710ce1b0.zip | |
Auto merge of #138537 - yotamofek:pr/lib/multi-char-pattern, r=jhpratt
Optimize multi-char string patterns Uses specialization for `[T]::contains` from #130991 to optimize multi-char patterns in string searches. Requesting a perf run to see if this actually has an effect 🙏 (I think that adding `char` to the list of types for which the `SliceContains` is specialized is a good idea, even if it doesn't show up on perf - might be helpful for downstream users)
Diffstat (limited to 'compiler/rustc_query_impl')
0 files changed, 0 insertions, 0 deletions
