From 009fffa4580ffb175f1b8470b5b12e4a63d670e4 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 5 Jul 2021 13:41:08 -0400 Subject: [PATCH] Reword to avoid awkward pluralization --- src/ch13-04-performance.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ch13-04-performance.md b/src/ch13-04-performance.md index eacb1ba80..5d09bf294 100644 --- a/src/ch13-04-performance.md +++ b/src/ch13-04-performance.md @@ -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