summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2019-02-04 14:20:53 +0000
committerRaphael Collet <rco@odoo.com>2019-02-11 15:53:20 +0000
commitecbc18ad8dc0a1fcfe6c8c56b17a958b10ae5c0f (patch)
tree3099ae677c41412955155bdff11b36825c3aa474 /addons/web/static/src/js/views/basic/basic_controller.js
parentce0575ef274ec6419ffb08211461e7bdcbed1019 (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/basic_controller.js')
0 files changed, 0 insertions, 0 deletions