As one of my experiments, I rewrote my app in Java. It was a bit faster in Java, but still much slower than using Blobs in Python. So I'd guess the answer is yes, but someone that knows the internals can probably confirm that.
-john On Tue, Sep 1, 2009 at 10:42 AM, ted stockwell<[email protected]> wrote: > > > Since the inefficiency is in the encoding of an Entity to a Protocol > Buffer should I assume that the advice to use an unindexed array > instead of an unindexed List also applies to the Java environment?? > > On Sep 1, 6:56 am, "Nick Johnson (Google)" <[email protected]> > wrote: >> > Why do you advice using ArrayProperty instead of db.ListProperty >> > (float, indexed=False) >> > with the indexed=False, it should behave the same way, no ? >> >> A ListProperty requires encoding each element of the list as a separate >> property entry in the Entity Protocol Buffer. Protocol Buffer encoding in >> Python is less efficient than simple array encoding (which is extremely >> straightforward), and you also incur the additional overhead of serializing >> the key multiple times - eg, a 1000 entry list is serialized as 1000 (key, >> value) pairs. >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
