Hacker News new | ask | show | jobs
by rejschaap 4153 days ago
Had a look at the code because I also happen to be playing around with Rust. The author seems to be struggling with strings and borrowing/lifetimes like the rest of us. Between splitting to words and tokenizing, there are probably 3 copies of the input string in memory.