summary refs log tree commit diff
path: root/compiler/rustc_index/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2021-12-30Introduce IntervalSetMark Rousskov-0/+1
This is a compact, fast storage for variable-sized sets, typically consisting of larger ranges. It is less efficient than a bitset if ranges are both small and the domain size is small, but will still perform acceptably. With enormous domain sizes and large ranges, the interval set performs much better, as it can be much more densely packed in memory than the uncompressed bit set alternative.
2021-12-14Stabilize iter::zip.PFPoitras-1/+0
2021-11-03Optimize live point computationMark Rousskov-0/+2
This is just replicating the previous algorithm, but taking advantage of the bitset structures to optimize into tighter and better optimized loops. Particularly advantageous on enormous MIR blocks, which are relatively rare in practice.
2021-10-03Replace Fn impls with RPIT impls in rustc_indexbjorn3-1/+0
This is cleaner and removes an unstable feature usage
2021-10-02Swap out unboxed_closures feature gate for min_specializationbjorn3-1/+1
For some reason unboxed_closures supresses the feature gate for min_specialization when implementing TrustedStep. min_specialization is the true feature that is used.
2021-05-31Remove unused feature gatesbjorn3-1/+0
2021-05-31Use allow_internal_unstable more in rustc_indexbjorn3-1/+0
2021-05-26Specialize implementationsJacob Pratt-0/+1
Implementations in stdlib are now optimized as they were before.
2021-04-25fix sanitizer testsRalf Jung-1/+0
2021-04-25move core::hint::black_box under its own feature gateRalf Jung-0/+2
2021-04-18fix feature use in rustc libsRalf Jung-1/+0
2021-03-26Use iter::zip in compiler/Josh Stone-0/+1
2021-01-29Apply workaround from #72003 for #56935Thomas Eizinger-0/+4
Related: #72017.
2020-11-22Stabilise `then`varkor-1/+0
2020-08-30mv compiler to compiler/mark-0/+11