With respect to the fastest way to iterate over lines, depending on your requirements, the default approach in std
is likely not the fastest. The bstr
crate has some routines for that, which will get you pretty close to an optimal generic answer for that problem.
3 Likes