![](/style/images/good.png)
![](/style/images/bad.png)
rustdoc: avoid many `Symbol` to `String` conversions. by nnethercote · Pull Requ...
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.
Particularly when constructing file paths and fully qualified paths.
This avoids a lot of allocations, speeding things up on almost all
examples.
Recommend
-
7
Ruby adds `Symbol#name` to return frozen string corresponding to the symbol name Sep 9, 2020 , by Vamsi Pavan Mahesh 1 minute read Ruby
-
9
How to Avoid JavaScript Type ConversionsJavaScript performs implicit conversions between data types. Let’s find out how to avoid it.
-
4
In Python, a string refers to a sequence of characters. String is particularly useful when you’re dealing with textual data in Python. In this tutorial, we’ll walk through some Python string basics, the most commonly used Python stri...
-
1
Copy link Member Smjert...
-
2
Conversation Copy link Contribu...
-
3
Conversation Fixes #93912. cc
-
2
Copy link Contributor Author nneth...
-
4
Bad Code: Too Many Object Conversions Between Application Layers And How to Avoid Them May 12, 2012 Have you ever worked with a...
-
2
5 Mistakes I Avoid When Designing for Conversions.😞 Mistakes That Ruin Your Conversion Rate.
-
6
How to Avoid Duplicate Conversions and Recreating the Conversion Funnel for GA4 The author's views are entirely his or her own (excluding the unlikely event of hypn...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK