Rust in Production
Zed with Conrad Irwin
Conrad Irwin
So that as you scroll, we can quickly jump to the right part of the file without having to, from the beginning, scan and count the new lines. And so using indexes like that to help us navigate the strings means that we're basically never doing anything that's order n in the size of the file, which is nice.
0
💬
0
Comments
Log in to comment.
There are no comments yet.