Files
odoo_source/bin/addons/base
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
..
2010-05-19 20:32:10 +02:00
2010-10-05 12:57:09 +05:30
2010-10-18 11:28:13 +02:00
2010-09-24 17:04:52 +05:30
imp
2010-10-17 21:02:08 +02:00
2010-10-18 01:36:11 +02:00