note 95341 deleted from function.is-null by thiago
| From: | thiago@php.net | Date: | Mon, 28 Dec 2009 13:40:37 +0000 |
| Subject: | note 95341 deleted from function.is-null by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164388@lists.php.net to get a copy of this message | ||
Note Submitter: mycroes at gmail dot com
----
@Malfist:
This is not micro-optimization. Null checks occur a lot, and having is_null instead of === null
takes more than twice the time on every check. During the day this will probably easily save a few
minutes of processing power on a medium traffic server.