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 regexp match
When a matching a string against a regexp, some memory is allocated. tokenize tokenizeSymbol Model Before 422ms 203ms 3382ms 215Mb 127Mb After 407ms 188ms 3335ms (-3.4%) (-7.2%) (-1.38%) 197Mb 106Mb (-8.3%) (-16.5%) (averages over 5 runs) closes #4196 Task: 3922347 X-original-commit: dceb0c4 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
- Loading branch information