lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Faster strlen
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.028 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site