Introducing "byte strings" to Rust: a string type that is not required to be valid UTF-8.https://github.com/BurntSushi/bstr
The twoway crate you mean? No. I wrote my own implementation. No unsafe: https://github.com/BurntSushi/bstr/blob/master/src/search/twoway.rs …
-
-
Oh. I suppose I misunderstood "The twoway crate can be used for fast substring searching on &[u8]" in the README on the first glance. I should take a deeper look :)
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.