[CalendarServer-changes] [11931] CalendarServer/trunk/twext/who/index.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:19:36 PDT 2014
Revision: 11931
http://trac.calendarserver.org//changeset/11931
Author: wsanchez at apple.com
Date: 2013-11-08 17:48:39 -0800 (Fri, 08 Nov 2013)
Log Message:
-----------
disable code that's not required
Modified Paths:
--------------
CalendarServer/trunk/twext/who/index.py
Modified: CalendarServer/trunk/twext/who/index.py
===================================================================
--- CalendarServer/trunk/twext/who/index.py 2013-11-09 01:47:01 UTC (rev 11930)
+++ CalendarServer/trunk/twext/who/index.py 2013-11-09 01:48:39 UTC (rev 11931)
@@ -189,8 +189,9 @@
for key in indexKeys:
matchingRecords |= fieldIndex.get(key, frozenset())
- if records is not None:
- matchingRecords &= records
+ # Not necessary, so don't unless we know it's a performance win:
+ # if records is not None:
+ # matchingRecords &= records
return succeed(matchingRecords)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/4c1a0ccd/attachment.html>
More information about the calendarserver-changes
mailing list