<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_hir_analysis/src/variance/solve.rs, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-07-14T12:27:35+00:00</updated>
<entry>
<title>refactor(rustc_middle): Substs -&gt; GenericArg</title>
<updated>2023-07-14T12:27:35+00:00</updated>
<author>
<name>Mahdi Dibaiee</name>
<email>mdibaiee@pm.me</email>
</author>
<published>2023-07-11T21:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e55583c4b831c601452117a8eb20af59779ef582'/>
<id>urn:sha1:e55583c4b831c601452117a8eb20af59779ef582</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata</title>
<updated>2023-02-17T00:05:56+00:00</updated>
<author>
<name>Kyle Matsuda</name>
<email>kyle.yoshio.matsuda@gmail.com</email>
</author>
<published>2023-02-07T08:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c183110cc26abb506dba0a4def917735fb6eb6f0'/>
<id>urn:sha1:c183110cc26abb506dba0a4def917735fb6eb6f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change usages of type_of to bound_type_of</title>
<updated>2023-02-17T00:01:52+00:00</updated>
<author>
<name>Kyle Matsuda</name>
<email>kyle.yoshio.matsuda@gmail.com</email>
</author>
<published>2023-02-07T00:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d822b97a27e50f5a091d2918f6ff0ffd2d2827f5'/>
<id>urn:sha1:d822b97a27e50f5a091d2918f6ff0ffd2d2827f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #106977 - michaelwoerister:unord_id_collections, r=oli-obk</title>
<updated>2023-01-21T14:18:17+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-01-21T14:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=005fc0f00f2d4ceaf523b67a8f9c5665b8ac5baf'/>
<id>urn:sha1:005fc0f00f2d4ceaf523b67a8f9c5665b8ac5baf</id>
<content type='text'>
Use UnordMap and UnordSet for id collections (DefIdMap, LocalDefIdMap, etc)

This PR changes the `rustc_data_structures::define_id_collections!` macro to use `UnordMap` and `UnordSet` instead of `FxHashMap` and `FxHashSet`. This should account for a large portion of hash-maps being used in places where they can cause trouble.

The changes required are moderate but non-zero:
- In some places the collections are extracted into sorted vecs.
- There are a few instances where for-loops have been changed to extends.

~~Let's see what the performance impact is. With a bit more refactoring, we might be able to get rid of some of the additional sorting -- but the change set is already big enough. Unless there's a performance impact, I'd like to do further changes in subsequent PRs.~~

Performance does not seem to be negatively affected ([perf-run here](https://github.com/rust-lang/rust/pull/106977#issuecomment-1396776699)).

Part of [MCP 533](https://github.com/rust-lang/compiler-team/issues/533).

r? `@ghost`
</content>
</entry>
<entry>
<title>Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstrieb</title>
<updated>2023-01-20T04:52:28+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-01-20T04:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56ee85274e5a3a4dda92f3bf73d1664c74ff9c15'/>
<id>urn:sha1:56ee85274e5a3a4dda92f3bf73d1664c74ff9c15</id>
<content type='text'>
Remove some `ref` patterns from the compiler

Previous PR: https://github.com/rust-lang/rust/pull/105368

r? `@Nilstrieb`
</content>
</entry>
<entry>
<title>Use UnordMap instead of FxHashMap in define_id_collections!().</title>
<updated>2023-01-19T09:40:47+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2023-01-17T11:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3d25731207e466fc20b00124a5aadd435d3b885'/>
<id>urn:sha1:c3d25731207e466fc20b00124a5aadd435d3b885</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove double spaces after dots in comments</title>
<updated>2023-01-17T08:09:33+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-11-16T20:34:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a28fb42a8b8f1f67fe854c2206148171e434d73'/>
<id>urn:sha1:6a28fb42a8b8f1f67fe854c2206148171e434d73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>`rustc_hir_analysis`: remove `ref` patterns</title>
<updated>2023-01-17T07:48:19+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-01-09T16:30:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09485eaae12b2f268d8e0c90671d759138d82778'/>
<id>urn:sha1:09485eaae12b2f268d8e0c90671d759138d82778</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_typeck to rustc_hir_analysis</title>
<updated>2022-09-27T08:37:23+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2022-09-26T11:00:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fc86a63f451b81606e4787692517dc613f333db'/>
<id>urn:sha1:1fc86a63f451b81606e4787692517dc613f333db</id>
<content type='text'>
</content>
</entry>
</feed>
