Objects and Performance
| From: | NSK | Date: | Wed, 08 Jun 2005 20:33:23 +0000 |
| Subject: | Objects and Performance | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216670@lists.php.net to get a copy of this message | ||
Hi, I am creating a small API in PHP, i.e. a collection of reusable functions
for other programmers. As it is now, it is just many functions together in
the same file. Do you think I should make it object-oriented? What are the
pros and cons of this approach in PHP?
I am particularly very concerned about performance. Are object methods slower
than functions in php?
--
NSK
http://portal.wikinerds.org