diff options
| author | Denis Ledoux <dle@odoo.com> | 2019-02-04 14:20:53 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-02-11 15:53:20 +0000 |
| commit | ecbc18ad8dc0a1fcfe6c8c56b17a958b10ae5c0f (patch) | |
| tree | 3099ae677c41412955155bdff11b36825c3aa474 /addons/web/static/src/js/views/basic | |
| parent | ce0575ef274ec6419ffb08211461e7bdcbed1019 (diff) | |
[IMP] models: read, speed up by avoiding the use of indexation
Instead of iterating on self and then putting the values in the right place in
the `data` dict, iterate over data directly.
This removes the need of the indexing `data[record]`, which takes a significant
time when dealing with hundred of thousands of records.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
