-
Bug
-
Resolution: Inactive
-
Major
-
None
-
2.2.5, 2.3.2, 3.7.3, 3.8.1, 3.9
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
Easy
-
4
-
International 3.9 - Sprint 3
Grade exports can take an extremely long time to complete as thousands of operations with grade_object instances are performed. The set_properties function is much slower than it needs to be due to use of in_array and unnecessary loops.
Changing the function to use php builtins improves performance dramatically.
Patch incoming.