Reword to avoid awkward pluralization

This commit is contained in:
Carol (Nichols || Goulding)
2021-07-05 13:41:08 -04:00
parent abc2ff3258
commit 009fffa458
+3 -3
View File
@@ -1,8 +1,8 @@
## Comparing Performance: Loops vs. Iterators
To determine whether to use loops or iterators, you need to know which version
of our `search` functions is faster: the version with an explicit `for` loop or
the version with iterators.
To determine whether to use loops or iterators, you need to know which
implementation is faster: the version of the `search` function with an explicit
`for` loop or the version with iterators.
We ran a benchmark by loading the entire contents of *The Adventures of
Sherlock Holmes* by Sir Arthur Conan Doyle into a `String` and looking for the