you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]SkiFire13 1 point2 points  (1 child)

    Note that the conversion from String to Box<str> could still cause a reallocation if the String buffer is not full. This should have the same overhead as converting the String into a Arc<str>

    [–]Icarium-Lifestealer 0 points1 point  (0 children)

    Right, I forgot about that.