@@ -2486,18 +2486,25 @@ ${item.displayPath}<span class="${type}">${name}</span>\
2486
2486
let crateSize = 0 ;
2487
2487
2488
2488
/**
2489
- * The raw search data for a given crate. `n`, `t`, `d`, and `q`, `i`, and `f`
2490
- * are arrays with the same length. n[i] contains the name of an item.
2491
- * t[i] contains the type of that item (as a string of characters that represent an
2492
- * offset in `itemTypes`). d[i] contains the description of that item.
2489
+ * The raw search data for a given crate. `n`, `t`, `d`, `i`, and `f`
2490
+ * are arrays with the same length. `q`, `a`, and `c` use a sparse
2491
+ * representation for compactness.
2493
2492
*
2494
- * q[i] contains the full path of the item, or an empty string indicating
2495
- * "same as q[i-1]".
2493
+ * `n[i]` contains the name of an item.
2496
2494
*
2497
- * i[i] contains an item's parent, usually a module. For compactness,
2495
+ * `t[i]` contains the type of that item
2496
+ * (as a string of characters that represent an offset in `itemTypes`).
2497
+ *
2498
+ * `d[i]` contains the description of that item.
2499
+ *
2500
+ * `q` contains the full paths of the items. For compactness, it is a set of
2501
+ * (index, path) pairs used to create a map. If a given index `i` is
2502
+ * not present, this indicates "same as the last index present".
2503
+ *
2504
+ * `i[i]` contains an item's parent, usually a module. For compactness,
2498
2505
* it is a set of indexes into the `p` array.
2499
2506
*
2500
- * f[i] contains function signatures, or `0` if the item isn't a function.
2507
+ * ` f[i]` contains function signatures, or `0` if the item isn't a function.
2501
2508
* Functions are themselves encoded as arrays. The first item is a list of
2502
2509
* types representing the function's inputs, and the second list item is a list
2503
2510
* of types representing the function's output. Tuples are flattened.
@@ -2511,6 +2518,8 @@ ${item.displayPath}<span class="${type}">${name}</span>\
2511
2518
*
2512
2519
* `p` is a list of path/type pairs. It is used for parents and function parameters.
2513
2520
*
2521
+ * `c` is an array of item indices that are deprecated.
2522
+ *
2514
2523
* @type {{
2515
2524
* doc: string,
2516
2525
* a: Object,
0 commit comments