The difference is the XML representation in the Python version when you call toXml on the db.Model:
http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_to_xml The Java version exists for feature parity and type-safety (if you are into that sort of thing). It's not more space efficient, nor is it faster. On Sat, Jun 12, 2010 at 12:06 PM, Jaroslav Záruba <[email protected] > wrote: > This is probably a silly question... few of them > > How does Category differ from good old String? Does it take less space > in the datastore or is it stored as String? > > And if one had only tens of tags, would it be any good to tag entities > rather using numbers and translate them afterwards? (Would it be > faster when querying? Would it take less space?) > > Simple RTFM with link would do, the docs isn't exactly revealing: > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Category.html#hashCode() > > Regards > J. Záruba > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
