소스 검색

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'];