On that note, would it be possible for rustc to optimize the std Cow<[T]> | Cow<str> to be 3 words instead of 4? You can use capacity (0 or !0) instead of the tag to differentiate between owned and borrowed values, like the cowvec crate does.
-
-
-
I think we can optimize it further to one word: "moo"
End of conversation
New conversation -
-
-
That's not even the joke in there for you specifically <3
- 6 more replies
New conversation -
-
`Cow` is my friend and I love them
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Hold your horses, cowboy!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Need more cowbell.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Here's a possible solution to the "
".is_ascii(), which has the nice side benefit of making is_ascii O(1)pic.twitter.com/dYEPvGWGcF
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
> Cow in prelude
> "UTF-16 is a fixed width encoding"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
