Rust in Production
Zed with Conrad Irwin
Conrad Irwin
Exactly. And then one of the things that wraps that that I think is pretty cool is we have to maintain where the line breaks are. And we don't want to scan through the string and figure out where all the line breaks are. And so we maintain a couple of indexes on top so that we know, OK, in this half of the file, there's 1,500 line breaks. In this half of the file, there's more.
0
💬
0
Comments
Log in to comment.
There are no comments yet.