Code runs slow compared to C#, trying to find a reason...
https://play.rust-lang.org/?edition=2021&gist=b4f1ad2bd580a02b2214cd8759fe1a4a&mode=debug&version=stable
Discussions: https://discu.eu/q/https://play.rust-lang.org/?edition=2021&gist=b4f1ad2bd580a02b2214cd8759fe1a4a&mode=debug&version=stable
#programming #rustlang
@rust_discussions
For those of us in Mastodon, the problem seemed to be not doing buffered reads
https://doc.rust-lang.org/std/io/struct.BufReader.html
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.