We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18fd6ea commit 1975b06Copy full SHA for 1975b06
src/librustdoc/html/static/js/search.js
@@ -3333,12 +3333,6 @@ class DocSearch {
3333
}
3334
3335
// sort unstable items later
3336
- // FIXME: there is some doubt if this is the most effecient way to implement this.
3337
- // alternative options include:
3338
- // * put is_unstable on each item when the index is built.
3339
- // increases memory usage but avoids a hashmap lookup.
3340
- // * put is_unstable on each item before sorting.
3341
- // better worst case performance but worse average case performance.
3342
a = Number(
3343
// @ts-expect-error
3344
this.searchIndexUnstable.get(aaa.item.crate).contains(aaa.item.bitIndex),
0 commit comments