about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sharded.rs
AgeCommit message (Expand)AuthorLines
2025-03-21Optimize hash map operations in the query systemJohn Kåre Alsaker-1/+1
2025-03-10Convert `ShardedHashMap` to use `hashbrown::HashTable`Josh Stone-17/+78
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-03-03Remove leading underscores from parameter names in `Sharded`Zalathar-8/+8
2025-02-25Changed interners to start with preallocated capacityMichał Kostrubiec-0/+3
2024-11-12Delete the `cfg(not(parallel))` serial compilerNoratrieb-20/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+8
2024-01-24rustc_data_structures: use either instead of itertoolsJosh Stone-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-11-14Fix some typoscui fliter-3/+3
2023-09-08Remove the `LockMode` enum and `dispatch`John Kåre Alsaker-4/+4
2023-09-08Refactor `Lock` implementationJohn Kåre Alsaker-4/+7
2023-09-08Add optimized lock methods for `Sharded`John Kåre Alsaker-3/+50
2023-08-24Optimize `lock_shards`John Kåre Alsaker-7/+18
2023-08-16Remove `count`John Kåre Alsaker-10/+9
2023-08-16Keep SHARDS fixed instead of a function of `cfg!(parallel_compiler)`John Kåre Alsaker-4/+19
2023-08-15Make Sharded an enum and specialize it for the single thread caseJohn Kåre Alsaker-36/+30
2023-05-28Add some commentsJohn Kåre Alsaker-0/+4
2023-05-28Don't access self.mask with a single shardJohn Kåre Alsaker-1/+1
2023-05-28Use only one shard with a single threadJohn Kåre Alsaker-10/+34
2023-04-16Move the WorkerLocal type from the rustc-rayon fork into rustc_data_structuresJohn Kåre Alsaker-5/+1
2023-04-09Allow `modulo_one` on function using cfg constsNilstrieb-0/+1
2023-03-30`CacheAligned` and `Sharded` don't need to derive `Clone`.Nicholas Nethercote-2/+1
2022-02-20Move Sharded maps into each QueryCache implMark Rousskov-1/+1
2021-09-18Use <[T; N]>::map in Sharded instead of SmallVec and unsafe codebjorn3-19/+1
2021-02-13Separate the query cache from the query state.Camille GILLOT-15/+15
2020-08-30mv compiler to compiler/mark-0/+168