odoo/openerp/osv
Olivier Dony 6da2d94357 [FIX] read_group: remove prohibitive n^2 operations, could freeze the server on large group_by results
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
2012-06-09 03:05:49 +02:00
..
__init__.py API docs: settings file and titles at modules 2011-06-23 12:03:57 +03:00
expression.py [IMP] openerp.{modules,osv}: _logger with fully qualified module name. 2012-01-24 13:42:52 +01:00
fields.py [FIX] fields.binary: allow writing base64 unicode string values 2012-02-22 10:39:37 +01:00
orm.py [FIX] read_group: remove prohibitive n^2 operations, could freeze the server on large group_by results 2012-06-09 03:05:49 +02:00
osv.py [IMP] gunicorn: signaling used for more than just execute(). 2012-02-08 17:13:12 +01:00
query.py API docs: settings file and titles at modules 2011-06-23 12:03:57 +03:00