On 03/02/2011 09:02 AM, Ben Dilts wrote:
Why is there no mechanism for paging results, a la SQL's "limit"?  If I
want entries in positions 140-159 from an index, I have to call
continue() on a cursor 139 times, which in turn unserializes 139 objects
from my store that I don't care about, which in FF4 is making a lookup
in IndexedDB sometimes take many seconds for even a few records.

Sounds like there is something to optimize in the implementation.
Have you filed a bug https://bugzilla.mozilla.org/enter_bug.cgi?product=Core component DOM ?
If not, please do so and attach a *minimal* testcase.


Thanks,


-Olli


  It
makes no sense--am I just missing something in the spec?


Ben Dilts


Reply via email to