If your Item object only has a name property you can put this name in
place of the ReferenceProperty.
Or give the Item a key_name that is equal to the name. Then you can
get the name with

Label.item.get_value_for_datastore(label).name()

This saves you the fetching of the Item objects.

2010/6/8 Fredrik Bonander <[email protected]>:
> 2. The page renders really fast, but usage is about 2345cpu_ms
> 2112api_cpu_ms when I knock it up to 30 items and 120 labels. Is any thing
> else one could do? I could use memcache but this will be used at a page
> where it's displayed only after an update.

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