Minor performance improvements.
Minor performance improvements.

primrix/securimage,Priyank57/securimage,dapphp/securimage,spandansingh/securimage,ericariyanto/securimage,spandansingh/securimage,dapphp/securimage,dapphp/securimage,ericariyanto/securimage,Priyank57/securimage