mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Very small size reduction and performance increase in sqlite3BitvecTest().
FossilOrigin-Name: 9b3a7281bd45994edf813a687e4b7a0761697929
This commit is contained in:
@@ -128,8 +128,8 @@ Bitvec *sqlite3BitvecCreate(u32 iSize){
|
||||
*/
|
||||
int sqlite3BitvecTest(Bitvec *p, u32 i){
|
||||
if( p==0 ) return 0;
|
||||
if( i>p->iSize || i==0 ) return 0;
|
||||
i--;
|
||||
if( i>=p->iSize ) return 0;
|
||||
while( p->iDivisor ){
|
||||
u32 bin = i/p->iDivisor;
|
||||
i = i%p->iDivisor;
|
||||
|
Reference in New Issue
Block a user