Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: 2.0
-
Component/s: Database SQL/XMLDB, Performance, Roles / Access
-
Labels:None
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
Although some improvements have been performed to the get_user_access_sitewide() function (see MDL-15748) following discussion http://moodle.org/mod/forum/discuss.php?d=107755#p548095 seems to indicate that we could improve it a bit more by moving some stuff within the function.
This bug is about to discuss/test/decide if the change is doable, really boosts performance and provides 100% the same results.
Thanks to Paolo Oprandi for all his tests/comments.
Adding some watchers to this bug. I'll include test script + new function here in some minutes (to be used against current 1.9.5+) in order to be able to run proper tests and report results.