Closed N0zzy closed 1 year ago
Because it's in a global code which is unoptimized.
Try puting it into a function, and compile in release mode.
thanks for trying to help. I was able to solve this problem using the C Sharp thread library.
C# would be the same speed in this case:
function test() {
for ($i = 0; $i < 10000; $i++) {}
}
this small code in original php runs in less than 1 second, and in pie from 5 to 10 seconds. how to fix it and is it possible? is it possible?