W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: Indexed Database API

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Fri, 04 Mar 2011 22:11:55 +0200
Message-ID: <4D71478B.405@helsinki.fi>
To: Ben Dilts <ben@lucidchart.com>
CC: public-webapps@w3.org, bent.mozilla@gmail.com
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
Received on Friday, 4 March 2011 20:12:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:43 GMT