Assembly string functions in i386 libc
Dag-Erling Smørgrav
des at des.no
Thu Jul 12 21:07:15 UTC 2007
"Sean C. Farley" <scf at FreeBSD.org> writes:
> On Wed, 11 Jul 2007, Matthew Dillon wrote:
> > Long ago I decided that strlen() was simply not in the critical
> > path for virtually any program.
> Since strlen() is used in every program directly or indirectly through
> libc, I thought it was beneficial to make it faster.
The first rule of optimization is: don't do it.
The second rule of optimization is: don't do it yet.
The third rule of optimization is: don't optimize what you haven't measured.
Can you show us an actual application that spends a significant part of
its run time in strlen()?
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-arch
mailing list