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

 2 years 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 broken, please click the button below to view the snapshot at that time.

Copy link


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

r? @GuillaumeGomez

About Joyk

Aggregate valuable and interesting links.
Joyk means Joy of geeK