1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Use comments to mark several branches as optimizations. No changes to code.

FossilOrigin-Name: 33e627472780b872716c504f2d585cc057c390a5
This commit is contained in:
drh
2016-04-28 14:15:12 +00:00
parent 10c0a2a7c9
commit 75ab50ce8f
4 changed files with 11 additions and 11 deletions

View File

@@ -1419,7 +1419,7 @@ LogEst sqlite3LogEst(u64 x){
if( x<2 ) return 0;
while( x<8 ){ y -= 10; x <<= 1; }
}else{
while( x>255 ){ y += 40; x >>= 4; }
while( x>255 ){ y += 40; x >>= 4; } /*OPTIMIZATION-IF-TRUE*/
while( x>15 ){ y += 10; x >>= 1; }
}
return a[x&7] + y - 10;