note 84161 added to function.is-null

From: Date: Tue, 01 Jul 2008 14:54:06 +0000
Subject: note 84161 added to function.is-null
Groups: php.notes 
Request: Send a blank email to php-notes+get-141039@lists.php.net to get a copy of this message
Micro optimization isn't worth it. You had to do it ten million times to notice a difference, a little more than 2 seconds $a===NULL; Took: 1.2424390316s is_null($a); Took: 3.70693397522s difference = 2.46449494362 difference/10,000,000 = 0.000000246449494362 The execution time difference between ===NULL and is_null is less than 250 nanoseconds. Go optimize something that matters. ---- Server IP: 209.41.74.194 Probable Submitter: 157.89.4.59 ---- Manual Page -- http://www.php.net/manual/en/function.is-null.php Edit -- https://master.php.net/note/edit/84161 Del: integrated -- https://master.php.net/note/delete/84161/integrated Del: useless -- https://master.php.net/note/delete/84161/useless Del: bad code -- https://master.php.net/note/delete/84161/bad+code Del: spam -- https://master.php.net/note/delete/84161/spam Del: non-english -- https://master.php.net/note/delete/84161/non-english Del: in docs -- https://master.php.net/note/delete/84161/in+docs Del: other reasons-- https://master.php.net/note/delete/84161 Reject -- https://master.php.net/note/reject/84161 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141039) next »