Indeed, this is a ResultWrapper object, so we can iterate over it: no ugly while...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 27 Jul 2008 18:14:59 +0000 (18:14 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 27 Jul 2008 18:14:59 +0000 (18:14 +0000)
commit7d0391a0c5d95890d8fb3e1298f3d375db1f94e2
treef4869fa887c5eda7317f9b02a24c4deb1f5b67d3
parent94d1f9f1f9d6dd7050242c80b844868564001b28
Indeed, this is a ResultWrapper object, so we can iterate over it: no ugly while loops.  In fact, we don't even have to bother creating the array.  A few quick tests show >100 KB peak memory usage drop even on a quite small RC, a couple dozen items.
includes/specials/SpecialRecentchanges.php