[google-appengine] Re: cost of adding methods to db.Model subclasses?

2009-10-09 Thread Nick Johnson (Google)
Hi matt, There's no serialization cost inherent in adding methods to a Model class. When storing to the datastore, only the data is persisted, and when memcached using the naive method, a reference to the class is stored, rather than the methods themselves. -Nick Johnson On Thu, Oct 8, 2009 at

[google-appengine] Re: cost of adding methods to db.Model subclasses?

2009-10-08 Thread Jason Smith
Shooting from the hip here, but I would say that as an app grows, calls to the datastore and other APIs are always going to be the bottleneck. So I would think no. On Oct 8, 9:41 pm, _matt_ mattsmit...@gmail.com wrote: Is there any performance cost for adding methods to our subclasses of