<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-09-24 14:42 GMT+02:00 Chirayu Chiripal <span dir="ltr"><<a href="mailto:chirayu.chiripal@gmail.com" target="_blank">chirayu.chiripal@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div><br></div></div></div><div>I was just wondering what will be the effect if we make current methods as static in those classes?<br></div></div><span><br>-- <br><div dir="ltr">Regards,<br>Chirayu Chiripal<br><a href="https://chirayuchiripal.wordpress.com/" target="_blank">https://chirayuchiripal.wordpress.com/</a></div></span></div></div></blockquote><div><br></div><div>It's almost the same thing to use a static or a non-static function. This is 2.5x slower than standard PHP function.</div><div><br></div><div>See:</div><div><div>Time: 1.7506999969482 //standard PHP function</div><div>Time: 4.3722500801086 //object</div><div>Time: 4.3722498416901 //object with static function</div><div>Time: 3.6722099781036 //PMA function, even this one is 2x slower than standard PHP function…</div></div><div><br></div><div>Hugues.</div></div></div></div>