A version of SQLiteCursor which remains fast even when the cursor is arbitrarily large.