Is get_by_key_name as fast as key? or is that slower. What is the best method is the difference marginal?
Regards ________________________________ From: zygimantas <zygimantas.berziu...@gmail.com> To: Google App Engine <google-appengine@googlegroups.com> Sent: Thu, 16 September, 2010 21:25:09 Subject: [google-appengine] Re: Model.get_by_id performance ok, it makes sense. Thanks. On Sep 16, 12:44 am, Kenneth <goo...@kmacleod.ie> wrote: > The id is converted to the key before the remote call so it is the > same speed. > > On Sep 15, 5:48 pm, zygimantas <zygimantas.berziu...@gmail.com> wrote: > > > > > Hello, > > > As we know, getting entity by the key is extremely fast. But what's > > about getting entity by ID (using Model.get_by_id)? > > As I understand, ID should be indexed separately, and getting by ID > > should be slower than getting by Key, right? > > > And this one is related - are there any drawbacks of using ID's on > > client side if we only care about uniqueness of entity between > > entities of the same Kind? > > > Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.