BacklinkCache performance tweaks
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 9 Nov 2013 20:33:59 +0000 (12:33 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 9 Nov 2013 20:35:07 +0000 (12:35 -0800)
commita9dc4d943e8f7e7824f31dc7fd1270873f8a9fdb
tree4313a137a463c7efa4c0ea2f887463ce6495651a
parentceba5987b0d36f134ffcd9e4f704d1608fe88b79
BacklinkCache performance tweaks

* In partition(), avoid doing the JOIN since it is not needed and prevents
  index-only queries.
* Made numLinks() wrap partition when no $max is specified.
* Also fixed some docs

Change-Id: I05a83f71efb4c6e99e40883d7fa53da59184b13c
includes/cache/BacklinkCache.php