note 44616 added to language.functions

From: Date: Wed, 11 Aug 2004 01:39:16 +0000
Subject: note 44616 added to language.functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-79847@lists.php.net to get a copy of this message
Remember, theres an additional overhead when calling functions, so if performance is key to what you are doing, you want to avoid calling out to other functions. In a function I was making that found out the distance and angle from 1 point to another, there were 3 calls to a small validation function. It averaged ~0.017 seconds for 400 calls to the function, and with these calls replaced with the actual code, this lowered to 0.011-0.012. So, if you need performance, avoid using other functions. ---- Manual Page -- http://www.php.net/manual/en/language.functions.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+44616 Delete -- http://master.php.net/manage/user-notes.php?action=delete+44616&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+44616&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#79847) next »