Noticed that t() get's called a lot from date_views_filter_handler_simple::operators()
Suggest maybe we just static cache the results.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | date-n2848963-5.patch | 989 bytes | damienmckenna |
| #5 | date-n2848963-5.interdiff.txt | 957 bytes | damienmckenna |
Comments
Comment #2
joelpittetHere's my results:
Comment #3
joelpittetbump
Comment #4
damienmckennaIs it possible that the parent::operators list might change on the same request, that this could cause regressions? Might it be more beneficial to just cache the new array?
Comment #5
damienmckennaUpdated per my idea in #4, please let me know what you think.
Comment #6
joelpittetGood idea, thanks for thinking ahead on that one. The likelihood is slim but in the realm of possibility.
Comment #7
joelpittetProbably should get someone else to RTBC this since I worked on it.
Comment #8
joelpittetBack to RTBC
Comment #10
damienmckennaCommitted.