diff options
| author | Olivier Dony <odo@openerp.com> | 2012-06-09 03:05:49 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-06-09 03:05:49 +0200 |
| commit | 6da2d94357e83c77cd702397d916384db98cc9eb (patch) | |
| tree | b5995783026c6de2176085ed106d3373a84c76d3 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | fe39e36f355f887d53c59faef40f63dd3e3686d4 (diff) | |
[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
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
