瀏覽代碼

Remove comment, code will remain as-is for performance reasons.

Daniele Alessandri 14 年之前
父節點
當前提交
2a78142b28
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lib/Predis.php

+ 0 - 1
lib/Predis.php

@@ -2274,7 +2274,6 @@ class HashRing implements IDistributionStrategy {
     }
 
     private function computeTotalWeight() {
-        // TODO: array_reduce + lambda for PHP 5.3
         $totalWeight = 0;
         foreach ($this->_nodes as $node) {
             $totalWeight += $node['weight'];