about summary refs log tree commit diff
path: root/src/tools/rustdoc-js/tester.js
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-03-21 17:19:39 -0700
committerMichael Howell <michael@notriddle.com>2024-03-21 17:57:01 -0700
commit28db4ccda76ffd2ce4c36912a194979a7ce2ef8d (patch)
tree6b10e6c2e410856c8492e1420261bc70c4a5603d /src/tools/rustdoc-js/tester.js
parente860b9cd24ba7555c0aba8e850985c30a837335e (diff)
downloadrust-28db4ccda76ffd2ce4c36912a194979a7ce2ef8d.tar.gz
rust-28db4ccda76ffd2ce4c36912a194979a7ce2ef8d.zip
rustdoc-search: compressed bitmap to sort, then load desc
This adds a bit more data than "pure sharding" by
including information about which items have no description
at all. This way, it can sort the results, then truncate,
then finally download the description.

With the "e" bitmap: 2380KiB

Without the "e" bitmap: 2364KiB
Diffstat (limited to 'src/tools/rustdoc-js/tester.js')
-rw-r--r--src/tools/rustdoc-js/tester.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tools/rustdoc-js/tester.js b/src/tools/rustdoc-js/tester.js
index 1af2f44c230..43a22f358c3 100644
--- a/src/tools/rustdoc-js/tester.js
+++ b/src/tools/rustdoc-js/tester.js
@@ -559,8 +559,3 @@ process.on("beforeExit", () => {
     console.log("process did not complete");
     process.exit(1);
 });
-
-/*process.on("uncaughtException", (err) => {
-    console.log(`Uncaught Exception: ${err.message}`);
-    process.exit(1);
-});*/