strcat+strcat+strcat == baaad

Martin Wilck Martin.Wilck at Fujitsu-Siemens.com
Mon Dec 2 11:44:25 CST 2002


Am Mon, 2002-12-02 um 13.57 schrieb David Laight:

> It is as if the code from your program is executing far
> slower than anything from libc!

That is very well possible if he has the right libc. Take a look at the
optimizations in the string functions in glibc, and you'll have an idea
why. Unless you are a assembler programming Guru for a certain
architecture, you'll have a hard time beating them.

Martin

-- 
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1	    mailto:Martin.Wilck at Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy








More information about the wine-devel mailing list