Commit d1f3c637 authored by Committed by Marge BotBrowse files
Use pointer equality in Eq/Ord for ThreadId
Changes (==) to use only pointer equality. This is safe because two threads are the same iff they have the same id. Changes `compare` to check pointer equality first and fall back on ids only in case of inequality. See discussion in #16761.
Showing with 29 additions and 17 deletions