use of class vs speed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gaddimanish
Forum Newbie
Posts: 8
Joined: Thu Mar 25, 2004 3:44 am

use of class vs speed

Post by gaddimanish »

Please let me know whether use of classes or long php page(more than 1000 lines of code) slow down the speed of php page or not

Manish
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

That depends on the code you have there, the way you've coded etc.

You can do simple benchmarking with twig's script she posted on this thread:
http://www.devnetwork.net/forums/viewtopic.php?t=17121
Post Reply