diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-08-03 12:47:55 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-08-03 15:49:04 +0000 |
| commit | fe029223a524b57cd362d597109cb900f055a54a (patch) | |
| tree | 08b840075e5be76d33f03a5132451410b856cb20 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 1d7285dc56dae159ae6945cb25f0bb2f713bbfa7 (diff) | |
[FIX] mail: speed up JS models by better using JS language
- use Map for _toComputeFields
- factorize const access out of loops
- avoid Object.entries
- introduces `exists` method to avoid costly call to `get`
- ensure compute are using update to trigger potential _updateAfter
Part of task-2308312
X-original-commit: e364886c2450872a7e42cef549f253b10e55158d
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
