Open Bug 1424332 Opened 3 years ago Updated 3 years ago

Reimplement LiveSQLiteCursor to not rely on _count

Categories

(Firefox for iOS :: Data Storage, enhancement, P2)

Other
iOS
enhancement

Tracking

()

Tracking Status
fxios + ---

People

(Reporter: jhugman, Unassigned)

Details

(Whiteboard: [DataStore])

Use of LiveSQLiteCursor is especially good where memory and performance is critical. 

Right now, _count is calculated in the init() method, and it is used in the default iterator implementation.

We should not be using _count in our iterator, or doing a full result scan.

This came out of Bug 1417034.
Priority: -- → P2
Whiteboard: [DataStore]
You need to log in before you can comment on or make changes to this bug.