-
-
In my case I get annoyed when people want to break languages to make O(1) indexing work.
-
I think it should usually be possible to do a single-pass index of strings (once) and get O(1) after
-
I mean, yeah, tricks like that exist. It's not free though.
-
right. I think you'd have to do it explicitly in Rust: String<T: Encoding>.index -> IndexedString<T: Encoding>
End of conversation
New conversation -
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.