1
0
Fork 0

Use a simpler hashing for the Rule2Literal case

this speeds up "composer update" by ~18%
pull/7450/head
Markus Staab 2018-07-09 14:01:57 +02:00
parent f24fcea35b
commit 0aa7ec2d2c
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,7 @@ class Rule2Literals extends Rule
public function getHash()
{
$data = unpack('ihash', md5($this->literal1.','.$this->literal2, true));
return $data['hash'];
return $this->literal1.','.$this->literal2;
}
/**