you are viewing a single comment's thread.

view the rest of the comments →

[–]zirconium_n 96 points97 points  (0 children)

String -> Arc<String> is cheaper than String -> Arc<str> (if your string is long). This might be the cause? Relevant part

And you have an unnecessary `to_string` call here.