Subject: Re: Faster TlsAlloc() or zero_bit_scan

2005-02-11 Thread Dietrich Teickner
Not all You can every write in c/c++. Sometime You need a call for a library function. I think, that can be one and I think, not only TlsAlloc use a zero_bit_scan. Dietrich On Thu, 10 Feb 2005 18:59:21 +0100, Dietrich Teickner wrote: I have a suggestion for a faster implementation of the

Subject: Re: Faster TlsAlloc() or zero_bit_scan

2005-02-11 Thread Dietrich Teickner
Not all You can every write in c/c++. Sometime You need a call for a library function. I think, that can be one and I think, not only TlsAlloc use a zero_bit_scan. It must be first zero_bit in the first 'bytecount' DWORD from the bitmap addr. Dietrich On Thu, 10 Feb 2005 18:59:21 +0100, Dietrich

Faster TlsAlloc() or zero_bit_scan

2005-02-10 Thread Dietrich Teickner
Hi, I have a suggestion for a faster implementation of the zero_bit_scan in RtlFindClearBits[EMAIL PROTECTED] (rlbitmap.c) for e.g. TlsAlloc() The main is the usage of the instruction 'bsf eax, eax' This I have implemented in the new experimental odinxp-tree for finding the first

Re: Faster TlsAlloc() or zero_bit_scan

2005-02-10 Thread Mike Hearn
On Thu, 10 Feb 2005 18:59:21 +0100, Dietrich Teickner wrote: I have a suggestion for a faster implementation of the zero_bit_scan in RtlFindClearBits [EMAIL PROTECTED] (rlbitmap.c) for e.g. TlsAlloc() The main is the usage of the instruction 'bsf eax, eax' This I have implemented in