From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5032f8591800c63e04a9a8b18c1b63ea@swtch.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] Clearing venti arena during install From: "Russ Cox" Date: Sun, 26 Mar 2006 19:57:25 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 22467386-ead1-11e9-9d60-3106f5b1d025 > In the common (real-life) case, the test of the first word suffices. > The word-at-a-time scan can be made to run fairly fast, especially if > you have the option of first putting a non-zero word just after the > buffer, so that no explicit bounds test is necessary in the loop. Or temporarily unzeroing the last word in the buffer. Russ