summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-10-27 14:08:08 +0100
committerRaphael Collet <rco@openerp.com>2014-10-27 14:36:09 +0100
commit7b1ef7085ab07da7a05240de773f1405fdcd1746 (patch)
tree826da8fc6d849f3f09a41cba703f64f6aa7cfeda /addons/analytic_user_function/analytic_user_function.py
parente9954cd9f903b247bd8f9fb66afa57d118e4ce7a (diff)
[IMP] fields: reduce the number of attributes on _column instances
This is a memory optimization: instead of setting all attributes on all instances, set them with their default value on the class, and only set specific ones on instances. This reduces the memory footprint of around 14Mb per registry with modules crm, sale, purchase and stock installed.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions