Turns out the main reason it was so slow was because stdout isn't buffered in Rust by default. That actually makes a lot of sense, but I'd forgotten. Wrapping it in a BufWriter solves the performance issues much more gracefully. |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.txt | ||
readme.md | ||
todo.md |