Re: kernel32 & winelib: Don't test string size in CompareStringW fornull terminated strings

2008-03-02 Thread Adam Strzelecki
> Wine already had at some point strlen along with some other string > functions > implemented in asm, however they have been removed after it was > proved that > gcc optimized C code outperforms it. Let me ask this way, why Wine don't use standard C library functions for lstringsomething ke

Re: kernel32 & winelib: Don't test string size in CompareStringW fornull terminated strings

2008-03-02 Thread Dmitry Timoshkov
"Adam Strzelecki" <[EMAIL PROTECTED]> wrote: > I believe the further discussion is pointless. If you ever dared to > look how MSVCRT or GLIBC strlen function is implemented you would know > that it is exactly same algorithm (that just differs in the > implementation) using 4 byte fetching wi