Commit 0210f805 authored by Fiona Glaser's avatar Fiona Glaser
Browse files

Faster --me tesa

parent da619d5d
......@@ -652,12 +652,11 @@ me_hex2:
}
while( nmvsad > limit )
{
int bsad = mvsads[0].sad;
int bi = 0;
for( i=1; i<nmvsad; i++ )
COPY2_IF_GT( bsad, mvsads[i].sad, bi, i );
if( mvsads[i].sad > mvsads[bi].sad )
bi = i;
nmvsad--;
mvsads[bi] = mvsads[nmvsad];
if( sizeof( mvsad_t ) == sizeof( uint64_t ) )
CP64( &mvsads[bi], &mvsads[nmvsad] );
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment