| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-03-21 | Optimize hash map operations in the query system | John Kåre Alsaker | -1/+1 | |
| 2025-03-10 | Convert `ShardedHashMap` to use `hashbrown::HashTable` | Josh Stone | -17/+78 | |
| The `hash_raw_entry` feature has finished fcp-close, so the compiler should stop using it to allow its removal. Several `Sharded` maps were using raw entries to avoid re-hashing between shard and map lookup, and we can do that with `hashbrown::HashTable` instead. | ||||
| 2025-03-07 | compiler: Use size_of from the prelude instead of imported | Thalia Archibald | -2/+2 | |
| Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80. | ||||
| 2025-03-03 | Remove leading underscores from parameter names in `Sharded` | Zalathar | -8/+8 | |
| With the removal of `cfg(parallel_compiler)`, these parameters are never considered unused. | ||||
| 2025-02-25 | Changed interners to start with preallocated capacity | Michał Kostrubiec | -0/+3 | |
| 2024-11-12 | Delete the `cfg(not(parallel))` serial compiler | Noratrieb | -20/+1 | |
| Since it's inception a long time ago, the parallel compiler and its cfgs have been a maintenance burden. This was a necessary evil the allow iteration while not degrading performance because of synchronization overhead. But this time is over. Thanks to the amazing work by the parallel working group (and the dyn sync crimes), the parallel compiler has now been fast enough to be shipped by default in nightly for quite a while now. Stable and beta have still been on the serial compiler, because they can't use `-Zthreads` anyways. But this is quite suboptimal: - the maintenance burden still sucks - we're not testing the serial compiler in nightly Because of these reasons, it's time to end it. The serial compiler has served us well in the years since it was split from the parallel one, but it's over now. Let the knight slay one head of the two-headed dragon! | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -7/+8 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-01-24 | rustc_data_structures: use either instead of itertools | Josh Stone | -1/+1 | |
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -2/+2 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-11-14 | Fix some typos | cui fliter | -3/+3 | |
| Signed-off-by: cui fliter <imcusg@gmail.com> | ||||
| 2023-09-08 | Remove the `LockMode` enum and `dispatch` | John Kåre Alsaker | -4/+4 | |
| 2023-09-08 | Refactor `Lock` implementation | John Kåre Alsaker | -4/+7 | |
| 2023-09-08 | Add optimized lock methods for `Sharded` | John Kåre Alsaker | -3/+50 | |
| 2023-08-24 | Optimize `lock_shards` | John Kåre Alsaker | -7/+18 | |
| 2023-08-16 | Remove `count` | John Kåre Alsaker | -10/+9 | |
| 2023-08-16 | Keep SHARDS fixed instead of a function of `cfg!(parallel_compiler)` | John Kåre Alsaker | -4/+19 | |
| 2023-08-15 | Make Sharded an enum and specialize it for the single thread case | John Kåre Alsaker | -36/+30 | |
| 2023-05-28 | Add some comments | John Kåre Alsaker | -0/+4 | |
| 2023-05-28 | Don't access self.mask with a single shard | John Kåre Alsaker | -1/+1 | |
| 2023-05-28 | Use only one shard with a single thread | John Kåre Alsaker | -10/+34 | |
| 2023-04-16 | Move the WorkerLocal type from the rustc-rayon fork into rustc_data_structures | John Kåre Alsaker | -5/+1 | |
| 2023-04-09 | Allow `modulo_one` on function using cfg consts | Nilstrieb | -0/+1 | |
| 2023-03-30 | `CacheAligned` and `Sharded` don't need to derive `Clone`. | Nicholas Nethercote | -2/+1 | |
| 2022-02-20 | Move Sharded maps into each QueryCache impl | Mark Rousskov | -1/+1 | |
| 2021-09-18 | Use <[T; N]>::map in Sharded instead of SmallVec and unsafe code | bjorn3 | -19/+1 | |
| This results in a lot less assembly | ||||
| 2021-02-13 | Separate the query cache from the query state. | Camille GILLOT | -15/+15 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+168 | |
