cvs: ZendEngine2 / bench.php

From: Date: Mon, 06 Mar 2006 09:58:27 +0000
Subject: cvs: ZendEngine2 / bench.php
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4696@lists.php.net to get a copy of this message
dmitry Mon Mar 6 09:58:27 2006 UTC Modified files: /ZendEngine2 bench.php Log: fixed compatibility with ext/hash http://cvs.php.net/viewcvs.cgi/ZendEngine2/bench.php?r1=1.4&r2=1.5&diff_format=u Index: ZendEngine2/bench.php diff -u ZendEngine2/bench.php:1.4 ZendEngine2/bench.php:1.5 --- ZendEngine2/bench.php:1.4 Tue Aug 2 12:11:55 2005 +++ ZendEngine2/bench.php Mon Mar 6 09:58:27 2006 @@ -179,7 +179,7 @@ /****/ -function hash($n) { +function hash1($n) { for ($i = 1; $i <= $n; $i++) { $X[dechex($i)] = $i; } @@ -401,8 +401,8 @@ $t = end_test($t, "ary3(2000)"); fibo(30); $t = end_test($t, "fibo(30)"); -hash(50000); -$t = end_test($t, "hash(50000)"); +hash1(50000); +$t = end_test($t, "hash1(50000)"); hash2(500); $t = end_test($t, "hash2(500)"); heapsort(20000);

« previous php.zend-engine.cvs (#4696) next »