Hi, you can read its code in google\appengine\ext\db\__init__.py,
about line 1850.

Filter() will do some check, then use
datastore._AddOrAppend(dictionary, key, value) to add a filter.
The dictionary object is a hashmap, so it won't take more datastore
time, only the checking time are wasted.

2009/11/1 MajorProgamming <[email protected]>:
>
> If I'm filtering on a Listproperty, and perform the same filter twice,
> is there a performance hit?
>
> q=q.filter('lp =','value1')
> q=q.filter('lp =','value1')
>
> Thanks,
> >
>

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