PHP Hashtable array optimisation.
- by hiprakhar
I made a PHP app which was taking about ~0.0070sec for execution. Now, I added a hashtable array with about 2000 values. Suddenly the time for execution has gone up to ~0.0700 secs. Almost 10 times the previous value.
I tried commenting out the part where I was searching inside the hashtable array (but array was still left defined). Still, the…