commit | a429b1a2dbae805711e1ba4573c06b26b0821826 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Wed Jun 22 17:39:44 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Jun 24 10:10:12 2011 -0700 |
tree | 3834c11006e0d90bff2c7199308500e901f889b2 | |
parent | bee0aeafa1ca9552e4caf82ae0cbf7adaf71c4cd [diff] |
Reuse cached RefControl data in FunctionState Currently the FunctionState code is run for every change in a change listing in the web UI, or the user dashboard. Looking up the relevant permissions for each reviewer is costly, but can typically be cached and reused off the request's cache, as most changes are not on username specific references. Change-Id: Idff421e1eecf651db11549d6591484578cd9543c