Welcome Guest, Not a member yet? Register   Sign In
supressing errors is really slow
#2

[eluser]webthink[/eluser]
That's a pretty severe slowdown you're showing there. 16 times slower over 1000 cycles even though you've added a conditional. I did a quick google and can't find any resources that talk about this. (It's a php issue as well as a CI issue so you'd think there would be some information out there)
I'm all for speeding things up regardless of how small the gain may be.
I think in general using the @operator is not good practice and should be avoided.
I haven't had a chance to look for any of these instances in the CI code could you point me in the direction of a few examples? Are they mostly like your example where they're used to avoid a notice from using a bad array index?


Messages In This Thread
supressing errors is really slow - by El Forum - 04-18-2008, 03:43 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:14 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:28 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:47 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:18 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:23 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:32 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:38 AM
supressing errors is really slow - by El Forum - 04-18-2008, 07:23 AM
supressing errors is really slow - by El Forum - 04-18-2008, 07:31 AM
supressing errors is really slow - by El Forum - 04-21-2008, 09:43 AM
supressing errors is really slow - by El Forum - 04-21-2008, 01:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB