diff options
| author | Xavier Morel <xmo@openerp.com> | 2010-11-09 14:08:47 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2010-11-09 14:08:47 +0100 |
| commit | f3722bbfe410fd113daaa45d419435764be4b28c (patch) | |
| tree | 45729501d118087f78fae1fc2a2a5c9f2ce3ec92 /addons/analytic_user_function | |
| parent | b89aef19f15cff658ef3f6db04be8cb2669569d2 (diff) | |
[IMP] base: make ir_values.get._result_get more readable and slightly faster.
On a test set of ~20 fields, using a precomputed set instead of a spot-computed tuple for 'in' testing yields ~30% speed improvement, and replacing the manual removal of elements by a listcomp filtering yields ~30% more.
Tests were also performed using sets and set.difference, while it yields better performances than manual element removal it is still worse than listcomp, especially when taking in account the re-serialization to a list
bzr revid: xmo@openerp.com-20101109130847-p1xfmk3zhhivebj1
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
