Files
odoo_source/bin/addons
Xavier Morel f3722bbfe4 [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
2010-11-09 14:08:47 +01:00
..