Strange. I repeated the test with v an int64 array (see below) however the
FreeMB() doesn’t change. Both Memi’s return pretty much the value of Mem
???????????????
for (int i=0; i<2; i++)
{
v=new int64_t[Size[i]];
int64_t Memi=FreeMBs();
clock_t Start=clock();
for (int i=0; i<Size[0] && sqlite3_step(stmt)==SQLITE_ROW; i++)
v[i]=sqlite3_column_int64(stmt,0);
std::cout << 1.0*(clock()-Start)/CLOCKS_PER_SEC << " secs -
Mem" << i << " = "
<< Memi << " MB" << std::endl;
sqlite3_reset(stmt);
delete [] v;
}
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users