4

rustdoc: avoid many `Symbol` to `String` conversions. by nnethercote · Pull Requ...

 3 months ago
source link: https://github.com/rust-lang/rust/pull/91948
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is damaged, please click the button below to view the snapshot at that time.

Copy link

Contributor

nnethercote commented on Dec 15, 2021

edited by camelid

Particularly when constructing file paths and fully qualified paths.
This avoids a lot of allocations, speeding things up on almost all
examples.

r? @GuillaumeGomez


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK