Re: RtlFillMemoryUlong

2005-02-13 Thread Rein Klazes
On Sun, 13 Feb 2005 10:31:12 +0100, you wrote: > With one inline asm-statement this function would smaler and faster. You are underestimating what compilers can do. Filling some Gigabytes with your patch (gcc 3.4, optimization -O2): real0m32.037s user0m29.584s sys 0m0.051s Origina

Re: RtlFillMemoryUlong

2005-02-13 Thread Mike McCormack
Dietrich Teickner wrote: With one inline asm-statement this function would smaler and faster. Nobody is really going to notice the difference this brings, almost no real code uses Rtl* functions (programs, not Windows dlls), and you're making a maintence problem by adding assembly code which depe

RtlFillMemoryUlong

2005-02-13 Thread Dietrich Teickner
/* * RtlFillMemoryUlong [EMAIL PROTECTED] * * Fill memory with a 32 bit (dword) value. * * PARAMS * lpDest [I] Bitmap pointer * ulCount [I] Number of bytes to write * ulValue [I] Value to fill with * * RETURNS * Nothing. */ VOID WINAPI RtlFillMemoryUlong(ULONG* lpDest, ULONG ulCount, ULONG