Messages in this thread | | | Date | Tue, 27 Jul 1999 22:27:41 +0200 | Subject | Re: Faster strlen | From | Marc Lehmann <> |
| |
On Tue, Jul 27, 1999 at 03:55:18PM +0200, Andreas Schwab <schwab@suse.de> wrote: > Which is not much different from the code in glibc. > > |> On Pentiums this sadistic code is 4 times faster that our :-(. > |> Really, Gates has his von Braun. > > This is common knowlege already for at least 8 years.
My "68030 assembly language reference" by Steve Williams mentioned that (glibc) algorithm in 1989. It gives a reference to a Usenet article by Alan Mycroft of Codemist software. The "trick" itself is much, much older even.
offtopic, yes ;->
-- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@goof.com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |