simple rust library to iterate over all words in a given string
```rust // by using this line, you can call the .words() method in strings use word_iter::*;
let iteroverwords = "hello world".words(); ```
Now you can do fun stuff like this:
rust
for word in iter_over_words {
println!("{}", word);
}
Yes.
A simple benchmark I ran on the entirety of alice in wonderland (148574 bytes, 27345 words) took 598μs on an 2019 MacBook Pro (2,6 GHz 6-Core Intel Core i7)
This library was made in order to aid with document analyses, specifically search engine related research.