-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdoc: Omit repeated paths in the search index.
Since the items roughly follow the lexical order, there are many consecutive items with the same path value which can be easily compressed. For the library and compiler docs, this commit decreases the index size by 26% and 6% before and after gzip, respectively.
- Loading branch information
1 parent
9eb336a
commit 8f5d71c
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at lifthrasiir@8f5d71c
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c into auto
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c merged ok, testing candidate = ec6c5cff
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4428
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5234
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5231
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4324
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4337
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5333
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4420
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5335
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4420
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4425
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2220
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5331
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4440
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at lifthrasiir@8f5d71c
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c into auto
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c merged ok, testing candidate = b3350b94
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5332
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5235
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5232
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4325
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4338
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5334
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4421
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4429
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5336
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4421
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4426
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4491
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2221
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4441
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at lifthrasiir@8f5d71c
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c into auto
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lifthrasiir/rust/rustdoc-smaller-index = 8f5d71c merged ok, testing candidate = 2f41a85
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5239
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5235
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4328
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4341
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5337
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4424
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4432
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5339
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4424
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4429
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4494
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2224
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5335
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4431
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4444
8f5d71c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 2f41a85