[Phpmyadmin-devel] #4536 - master: import problem (PMA_String)

Hugues Peccatte hugues.peccatte at gmail.com
Wed Sep 24 20:47:01 CEST 2014


2014-09-24 14:42 GMT+02:00 Chirayu Chiripal <chirayu.chiripal at gmail.com>:
>
>
> I was just wondering what will be the effect if we make current methods as
> static in those classes?
>
> --
> Regards,
> Chirayu Chiripal
> https://chirayuchiripal.wordpress.com/
>

It's almost the same thing to use a static or a non-static function. This
is 2.5x slower than standard PHP function.

See:
Time: 1.7506999969482 //standard PHP function
Time: 4.3722500801086 //object
Time: 4.3722498416901 //object with static function
Time: 3.6722099781036 //PMA function, even this one is 2x slower than
standard PHP function…

Hugues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140924/f6ccae68/attachment.html>


More information about the Developers mailing list