1994-07-07 - Re: Counting bits

Header Data

From: Eli Brandt <ebrandt@jarthur.cs.hmc.edu>
To: cypherpunks list <cypherpunks@toad.com>
Message Hash: 1db0545001113022e1869370cbe090b07ce65d9f56bfd71d2bf696bc09600ebb
Message ID: <9407070258.AA12876@toad.com>
Reply To: <9407070147.AA11105@prism.poly.edu>
UTC Datetime: 1994-07-07 02:58:09 UTC
Raw Date: Wed, 6 Jul 94 19:58:09 PDT

Raw message

From: Eli Brandt <ebrandt@jarthur.cs.hmc.edu>
Date: Wed, 6 Jul 94 19:58:09 PDT
To: cypherpunks list <cypherpunks@toad.com>
Subject: Re: Counting bits
In-Reply-To: <9407070147.AA11105@prism.poly.edu>
Message-ID: <9407070258.AA12876@toad.com>
MIME-Version: 1.0
Content-Type: text/plain


> Why bother when you can simply do an eight line function?
[ unrolled loop approach deleted ]

1. Speed.  For bytes it probably doesn't matter much, but it
will if you're operating on full words.

2. Why write straightforward code if you don't have to?  ;-)

   Eli   ebrandt@hmc.edu






Thread