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 3:41 PM, _matt_ <[email protected]> wrote:

>
> Is there any performance cost for adding methods to our subclasses of
> db.Model?   Thinking memcaching/datastore....
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to