{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreignafi5srftjko45eag4tgxzvbz7j7ixvvskzzctumtgnbou3hpgu",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjn7ica2ohs2"
},
"path": "/t/t-sort-by-index-and-t-sort-by-key-and-index/24172#post_16",
"publishedAt": "2026-04-16T18:53:01.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"This MathOverflow answer"
],
"textContent": "This MathOverflow answer seems to indicate that we do not yet have any deterministic algorithm which checks for duplicates in O(n) time and O(1) space (though we don't seem to have proven it impossible yet).",
"title": "`<[T]>::sort_by_index` and `<[T]>::sort_by_key_and_index`"
}