6da2d94357
This patch replaces two O(n^2) operations, one filter and one sort, with O(n) or better operations. It takes slightly more memory due to the use of one extra data copy, but takes virtually no time to process even with 600k result lines, whereas the previous code would just freeze the server for a long time. bzr revid: odo@openerp.com-20120609010549-xdktw6xte7fmxjbq |
||
---|---|---|
.. | ||
__init__.py | ||
expression.py | ||
fields.py | ||
orm.py | ||
osv.py | ||
query.py |