Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29337941: Issue 3750 - Avoid re-generating subscription list for each locale (Closed)

Created:
March 8, 2016, 3:27 p.m. by kzar
Modified:
March 9, 2016, 4:26 p.m.
Visibility:
Public.

Description

Issue 3750 - Avoid re-generating subscription list for each locale

Patch Set 1 #

Total comments: 5

Patch Set 2 : Turned get_subscriptions into a global function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -63 lines) Patch
M filters/get_subscriptions.py View 1 1 chunk +0 lines, -60 lines 0 comments Download
A + globals/get_subscriptions.py View 1 2 chunks +8 lines, -2 lines 0 comments Download
M pages/subscriptions.tmpl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10
kzar
Patch Set 1
March 8, 2016, 3:28 p.m. (2016-03-08 15:28:33 UTC) #1
Sebastian Noack
Note that jinja2 would already automatically cache that filter, if we wouldn't parse the template ...
March 8, 2016, 3:54 p.m. (2016-03-08 15:54:32 UTC) #2
Wladimir Palant
https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py File filters/get_subscriptions.py (right): https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py#newcode24 filters/get_subscriptions.py:24: def get_subscriptions(_): This shouldn't be a filter but rather ...
March 9, 2016, 11:12 a.m. (2016-03-09 11:12:28 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py File filters/get_subscriptions.py (right): https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py#newcode24 filters/get_subscriptions.py:24: def get_subscriptions(_): On 2016/03/09 11:12:27, Wladimir Palant wrote: > ...
March 9, 2016, 11:18 a.m. (2016-03-09 11:18:17 UTC) #4
Wladimir Palant
https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py File filters/get_subscriptions.py (right): https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py#newcode24 filters/get_subscriptions.py:24: def get_subscriptions(_): On 2016/03/09 11:18:17, Sebastian Noack wrote: > ...
March 9, 2016, 11:25 a.m. (2016-03-09 11:25:52 UTC) #5
Sebastian Noack
https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py File filters/get_subscriptions.py (right): https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py#newcode24 filters/get_subscriptions.py:24: def get_subscriptions(_): On 2016/03/09 11:25:51, Wladimir Palant wrote: > ...
March 9, 2016, 11:54 a.m. (2016-03-09 11:54:18 UTC) #6
Wladimir Palant
https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py File filters/get_subscriptions.py (right): https://codereview.adblockplus.org/29337941/diff/29337942/filters/get_subscriptions.py#newcode24 filters/get_subscriptions.py:24: def get_subscriptions(_): On 2016/03/09 11:54:18, Sebastian Noack wrote: > ...
March 9, 2016, 1:50 p.m. (2016-03-09 13:50:15 UTC) #7
kzar
Patch Set 2 : Turned get_subscriptions into a global function
March 9, 2016, 3:56 p.m. (2016-03-09 15:56:09 UTC) #8
Sebastian Noack
LGTM
March 9, 2016, 4:09 p.m. (2016-03-09 16:09:58 UTC) #9
Wladimir Palant
March 9, 2016, 4:14 p.m. (2016-03-09 16:14:47 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld