mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Looping over large numbers of items with array_shift() is expensive. Reverse the array and fetch items from the top of the pile.
Looping over large numbers of items with array_shift() is expensive. Reverse the array and fetch items from the top of the pile.