From 3244416daed268f8ea2fe53a6c42e952f13c5354 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Tue, 9 Feb 2021 20:54:34 +0900 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef1e54c..c9fef26 100644 --- a/README.md +++ b/README.md @@ -327,7 +327,7 @@ At that time, if you check whether the buffer has reached the end, it will be ve ```go buflen := len(buf) -for ; i < buflen; cursor++ { // compare i and buflen at all times, it is so slow. +for ; cursor < buflen; cursor++ { // compare cursor and buflen at all times, it is so slow. switch buf[cursor] { case ' ', '\n', '\r', '\t': }