diff options
| author | Raphael Collet <rco@openerp.com> | 2015-02-17 12:07:50 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-02-18 16:43:20 +0100 |
| commit | 45a37b22fd9914da7fa38c56c25173583c59abf7 (patch) | |
| tree | e413fd79e4d64894a1fe253fbde973eb287ad676 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | 0167acbb527b83700045274ad3a37348f657abf7 (diff) | |
[IMP] models: speedup loading of registry (-20%)
Idea: look up for the model's fields in method `_setup_base()` instead of
method `__init__()`. This does not make a significant difference when
installing or upgrading modules, but when simply loading a registry, the
(expensive) field lookup is done once per model instead of once per class.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
