rust-analyzer/crates/stdx
Chayim Refael Friedman 061e5d7f71 Shrink Path to 16 bytes
Thanks to the observation (supported by counting) that the vast majority paths have neither generics no type anchors, and thanks to a new datastructure `ThinVecWithHeader` that is essentially `(T, Box<[U]>)` but with the size of a single pointer, we are able to reach this feat.

This (together with `ThinVecWithHeader`) makes the possibility to shrink `TypeRef`, because most types are paths.
2024-10-25 06:44:56 +03:00
..
src Shrink Path to 16 bytes 2024-10-25 06:44:56 +03:00
Cargo.toml Use crossbeam-channel from the workspace 2024-08-09 23:48:03 +02:00