Re: Assembly string functions in i386 libc
- From: Dag-Erling Smørgrav <des@xxxxxx>
- Date: Thu, 12 Jul 2007 22:51:15 +0200
"Sean C. Farley" <scf@xxxxxxxxxxx> writes:
On Wed, 11 Jul 2007, Matthew Dillon wrote:
Long ago I decided that strlen() was simply not in the criticalSince strlen() is used in every program directly or indirectly through
path for virtually any program.
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@xxxxxx
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Assembly string functions in i386 libc
- From: Sean C. Farley
- Re: Assembly string functions in i386 libc
- References:
- Assembly string functions in i386 libc
- From: Sean C. Farley
- Re: Assembly string functions in i386 libc
- From: Peter Jeremy
- Re: Assembly string functions in i386 libc
- From: Matthew Dillon
- Re: Assembly string functions in i386 libc
- From: Sean C. Farley
- Assembly string functions in i386 libc
- Prev by Date: Re: Assembly string functions in i386 libc
- Next by Date: Re: Assembly string functions in i386 libc
- Previous by thread: Re: Assembly string functions in i386 libc
- Next by thread: Re: Assembly string functions in i386 libc
- Index(es):
Relevant Pages
|
|