The problem is that you are *not* doing a multi-get for the get 20 case. You do 20 gets sequentially.
2009/8/7 Oliver Zheng <[email protected]> > > On Aug 6, 5:27 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος) > <[email protected]> wrote: > > You are doing multiple db.get calls while you do a single Query.fetch. > > But isn't the point of db.get for multiples a direct real-time (i.e. > constant time) grab? Where as a query searches through an index first, > and then does the same grab. If that is true, the time required by a > query is that multi-get plus index searching. Unless searching through > the index actually gives you time back, something is not right here. > > Oliver > > > -- Alkis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
