Files
rust/compiler/rustc_data_structures/src
Michael Woerister 739e5ef49e Split StableCompare trait out of StableOrd trait.
StableCompare is a companion trait to `StableOrd`. Some types like `Symbol` can be compared in a cross-session stable way, but their `Ord` implementation is not stable. In such cases, a `StableOrd` implementation can be provided to offer a lightweight way for stable sorting. (The more heavyweight option is to sort via `ToStableHashKey`, but then sorting needs to have access to a stable hashing context and `ToStableHashKey` can also be expensive as in the case of `Symbol` where it has to allocate a `String`.)
2024-01-04 13:32:42 +01:00
..
2023-12-10 10:56:22 +08:00
2023-09-21 17:31:25 +02:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2020-08-30 18:45:07 +03:00
2023-07-23 23:39:04 +02:00
2023-11-23 20:10:44 -05:00
2023-12-22 11:14:11 +01:00
2023-04-14 13:04:58 +00:00
2020-08-30 18:45:07 +03:00
2023-10-19 20:18:51 -03:00
2023-06-09 00:20:37 +00:00
2023-12-30 18:17:28 +01:00
2023-05-16 12:09:24 +00:00
2023-04-09 23:22:14 +02:00
2023-04-20 19:54:10 +00:00