Answer the question
In order to leave comments, you need to log in
How much does oop slow down the work of a php program?
Hello everyone, please tell me how much does OOP affect the speed of the robots of the program? and is there a function in php through which you can find out the execution time of the program?
Answer the question
In order to leave comments, you need to log in
Starting from emnip 5.6, working with the object data model is not inferior in speed to procedural code, and it greatly benefits in memory consumption, due to the creation of only those objects that are currently needed in the code, and not all 100,500 functions are drawn from procedural noodles.
Programmers spend a huge amount of time thinking and worrying about non-critical places in the code and trying to optimize them, which has an extremely negative effect on subsequent debugging and support. We should forget about optimization altogether in, say, 97% of the cases. Hasty optimization is the root of all evil. Conversely, we must pay full attention to the remaining 3%.— Donald Knuth
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question