Index: trunk/phase3/includes/BacklinkCache.php |
— | — | @@ -255,7 +255,7 @@ |
256 | 256 | |
257 | 257 | /** |
258 | 258 | * Partition the backlinks into batches. |
259 | | - * Returns an array giving the start and end of each range. The firsti |
| 259 | + * Returns an array giving the start and end of each range. The first |
260 | 260 | * batch has a start of false, and the last batch has an end of false. |
261 | 261 | * |
262 | 262 | * @param $table String: the links table name |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | */ |
266 | 266 | public function partition( $table, $batchSize ) { |
267 | 267 | |
268 | | - // 1) try this per process cache first |
| 268 | + // 1) try partition cache ... |
269 | 269 | |
270 | 270 | if ( isset( $this->partitionCache[$table][$batchSize] ) ) { |
271 | 271 | wfDebug( __METHOD__ . ": got from partition cache\n" ); |
— | — | @@ -274,7 +274,7 @@ |
275 | 275 | $this->partitionCache[$table][$batchSize] = false; |
276 | 276 | $cacheEntry =& $this->partitionCache[$table][$batchSize]; |
277 | 277 | |
278 | | - // 2) try full result cache |
| 278 | + // 2) ... then try full result cache ... |
279 | 279 | |
280 | 280 | if ( isset( $this->fullResultCache[$table] ) ) { |
281 | 281 | $cacheEntry = $this->partitionResult( $this->fullResultCache[$table], $batchSize ); |