{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiga5qq2knkh7gkkqjv6kshfike5ll7anv3qprxx2vnicazglettdq",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjhruqdcxo72"
},
"path": "/t/t-sort-by-index-and-t-sort-by-key-and-index/24172#post_6",
"publishedAt": "2026-04-14T15:59:11.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "To avoid internal allocation you could oblige caller to supply a scratch array of `[usize; N]`.",
"title": "`<[T]>::sort_by_index` and `<[T]>::sort_by_key_and_index`"
}