Added careful caching to getRolesInContext, which is an expensive op
that requires climbing the entire aq chain on every call (and it gets called a *lot*). A little investigation revealed that it is called over and over for the same objects during a request for complex pages, so a cache was added that can cut the work down to about 10% of its current level.
Showing
Please register or sign in to comment