News for hackers. Stuff that matters.
Re:Choosing a more optimal `String` type by mhutter on Friday September 22, 2023 @06:05AM (#37610097)
Aaah, `Cow`, the unloved child ...
Re:Choosing a more optimal `String` type by queuebert on Friday September 22, 2023 @09:16PM (#37619773)
I love Cow, except when it goes mut.
Re:Choosing a more optimal `String` type by schneems on Friday September 22, 2023 @11:12PM (#37620305)
&mut Cow<Disease>
Re:Choosing a more optimal `String` type by wavemode on Saturday September 23, 2023 @09:58AM (#37623263)
I presume they're trying to avoid having to worry about the lifetime, so they want something that owns its contents.