[google-appengine] What design has better perfomance?

2011-01-18 Thread Ernesto Karim Oltra
Actually I'm using key_names intensively in my app, instead of using ReferenceProperty. I store them in StringProperty when indexes needed, and TextProperty otherwise; so I am not worried about indexes. My handlers works with them in URLs, example: /profiles/[key name of the account]/edit

Re: [google-appengine] What design has better perfomance?

2011-01-18 Thread Robert Kluin
Hi Ernesto, There will be nearly no difference in performance between the fetching by key_name and vs a ReferenceProperty. The only performance difference is that key_name will be converted to a key before the fetch, so any difference would be *very* small. The key_name will use less space to