summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/variables.less
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2016-09-28 13:12:55 +0200
committerDavid Monjoie <dmo@odoo.com>2016-09-28 13:44:16 +0200
commitf82aeb05d0c8c567e9929a36b18dff74f9fbdcc3 (patch)
tree5b56785023e8c268a587210815d44303df22680b /addons/web/static/src/less/variables.less
parent9ba569874c494fa2065d1fa2ec79a79e4cf09d00 (diff)
[FIX] event: fix registration confirmation delay
The previous line was O(n^2). With n=1200 like we just have now, things didn't look good for this loop and confirming an attendee registration to such event took approx. 13 seconds. Since the list comprehension is in no mean linked to the value of "item" in the filter, I simply moved it out so it is only computed once.
Diffstat (limited to 'addons/web/static/src/less/variables.less')
0 files changed, 0 insertions, 0 deletions