Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PERF] tokenizer: avoid useless array map
Avoid creating an array and mapping over an array (which allocates a new array) Reduces memory allocation of `matchReference` by ~50% (from 12Mb to 6Mb on RNG's large timesheet spreadsheet) closes #4198 Task: 3920705 X-original-commit: 467d5a0 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com> Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information