rust/src/librustdoc/html
Michael Howell c76c2e71f0 rustdoc-search: fast path for 1-query unification
Short queries, in addition to being common, are also the base
case for a lot of more complicated queries. We can avoid
most of the backtracking data structures, and use simple
recursive matching instead, by special casing them.

Profile output:
https://notriddle.com/rustdoc-html-demo-5/profile-3/index.html
2023-11-17 18:22:30 -07:00
..
highlight Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
length_limit Remove from librustdoc and clippy too 2023-01-27 20:44:19 -08:00
markdown Allow more characters in custom classes 2023-09-19 17:29:30 +02:00
render Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
static rustdoc-search: fast path for 1-query unification 2023-11-17 18:22:30 -07:00
templates make LayoutError::Cycle carry ErrorGuaranteed 2023-11-12 18:59:18 +00:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
format.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
highlight.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
layout.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
length_limit.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
markdown.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
static_files.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00